fkooman\RemoteStorage\RemoteStorageServiceTest::testGetSameVersionFolder PHP Method

testGetSameVersionFolder() public method

    public function testGetSameVersionFolder()
    {
        $request = $this->getPutRequest('/admin/foo/bar/baz.txt');
        $response = $this->r->run($request);
        $request = $this->getGetRequest('/admin/foo/bar/', array('If-None-Match' => '"1:7"'));
        $response = $this->r->run($request);
        $this->assertSame(array('HTTP/1.1 304 Not Modified', 'Content-Type: application/ld+json', 'Etag: "1:7"', 'Expires: 0', 'Cache-Control: no-cache', 'Access-Control-Allow-Origin: *', 'Access-Control-Expose-Headers: ETag, Content-Length', '', ''), $response->toArray());
    }