$this->assertSame(200, $client->getResponse()->getStatusCode());
}
+ public function testWithAnnotations()
+ {
+ $this->logInAs('admin');
+ $client = $this->getClient();
+
+ $client->request('GET', '/with_annotations/list');
+
+ $this->assertSame(200, $client->getResponse()->getStatusCode());
+ }
+
public function testRangeException()
{
$this->logInAs('admin');
$this->assertSame(302, $client->getResponse()->getStatusCode());
$this->assertContains('/view/', $client->getResponse()->getTargetUrl(), 'Untagged random');
+ $client->request('GET', '/with_annotations/random');
+ $this->assertSame(302, $client->getResponse()->getStatusCode());
+ $this->assertContains('/view/', $client->getResponse()->getTargetUrl(), 'With annotations random');
+
$client->request('GET', '/all/random');
$this->assertSame(302, $client->getResponse()->getStatusCode());
$this->assertContains('/view/', $client->getResponse()->getTargetUrl(), 'All random');