You are here

public function ResponseTest::testIsNotModifiedNotSafe in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-foundation/Tests/ResponseTest.php \Symfony\Component\HttpFoundation\Tests\ResponseTest::testIsNotModifiedNotSafe()

File

vendor/symfony/http-foundation/Tests/ResponseTest.php, line 150

Class

ResponseTest

Namespace

Symfony\Component\HttpFoundation\Tests

Code

public function testIsNotModifiedNotSafe() {
  $request = Request::create('/homepage', 'POST');
  $response = new Response();
  $this
    ->assertFalse($response
    ->isNotModified($request));
}