public function testPageIsSuccessful($url) { $this->logIn(); $client = $this->client; $client->request('GET', $url); $this->assertStatusCode(200 || 301, $client); }