2015-03-12 10:44:39 +10:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
class ExampleTest extends TestCase {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* A basic functional test example.
|
|
|
|
|
*
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
public function testBasicExample()
|
|
|
|
|
{
|
2015-03-12 13:39:52 +10:00
|
|
|
$crawler = $this->client->request('GET', '/');
|
|
|
|
|
$this->assertTrue($this->client->getResponse()->isRedirect());
|
2015-03-12 10:44:39 +10:00
|
|
|
}
|
|
|
|
|
|
2015-03-12 13:39:52 +10:00
|
|
|
}
|