Skip to content

Commit

Permalink
[HttpKernel] fixed a volatile test
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Sep 20, 2014
1 parent 6020c43 commit 974bf01
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -606,7 +606,7 @@ public function testAssignsDefaultTtlWhenResponseHasNoFreshnessInformationAndAft
$this->assertTraceContains('miss');
$this->assertTraceContains('store');
$this->assertEquals('Hello World', $this->response->getContent());
$this->assertRegExp('/s-maxage=2/', $this->response->headers->get('Cache-Control'));
$this->assertRegExp('/s-maxage=(?:2|3)/', $this->response->headers->get('Cache-Control'));

$this->request('GET', '/');
$this->assertHttpKernelIsNotCalled();
Expand Down

0 comments on commit 974bf01

Please sign in to comment.