eZ\Bundle\EzPublishRestBundle\Tests\Functional\LocationTest::testRedirectLocationByRemoteId PHP Метод

testRedirectLocationByRemoteId() публичный Метод

public testRedirectLocationByRemoteId ( $locationHref )
    public function testRedirectLocationByRemoteId($locationHref)
    {
        $response = $this->sendHttpRequest($this->createHttpRequest('GET', '/api/ezp/v2/content/locations?remoteId=' . $this->addTestSuffix('testCreateLocation')));
        self::assertHttpResponseCodeEquals($response, 307);
        self::assertHttpResponseHasHeader($response, 'Location', $locationHref);
    }