asEditor(); foreach ($langs as $lang) { setting()->putUser($this->getEditor(), 'language', $lang); $transResp = $this->get('/translations'); foreach ($visibleKeys as $key) { $transResp->assertSee($key); } } } }