Ojs\UserBundle\Tests\Controller\MultipleMailControllerTest::testPageIsSuccessful PHP Method

testPageIsSuccessful() public method

public testPageIsSuccessful ( $url )
    public function testPageIsSuccessful($url)
    {
        $client = $this->client;
        $crawler = $client->request('GET', $url, array(), array(), array('PHP_AUTH_USER' => 'admin', 'PHP_AUTH_PW' => 'admin'));
        $this->assertStatusCode(200, $client);
    }
MultipleMailControllerTest