You are here

public function FunctionsTest::testReturnsAsIsWhenNoChanges in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/tests/FunctionsTest.php \GuzzleHttp\Tests\Psr7\FunctionsTest::testReturnsAsIsWhenNoChanges()

File

vendor/guzzlehttp/psr7/tests/FunctionsTest.php, line 557

Class

FunctionsTest

Namespace

GuzzleHttp\Tests\Psr7

Code

public function testReturnsAsIsWhenNoChanges() {
  $request = new Psr7\Request('GET', 'http://foo.com');
  $this
    ->assertSame($request, Psr7\modify_request($request, []));
}