fkooman\RemoteStorage\RemoteStorageServiceTest::testDeleteDocument PHP Method

testDeleteDocument() public method

public testDeleteDocument ( )
    public function testDeleteDocument()
    {
        $request = $this->getPutRequest('/admin/foo/bar/baz.txt');
        $response = $this->r->run($request);
        $this->assertSame(array('HTTP/1.1 200 OK', 'Content-Type: text/html;charset=UTF-8', 'Etag: "1:2"', 'Content-Length: 0', 'Access-Control-Allow-Origin: *', 'Access-Control-Expose-Headers: ETag, Content-Length', '', null), $response->toArray());
        $request = $this->getDeleteRequest('/admin/foo/bar/baz.txt');
        $response = $this->r->run($request);
        $this->assertSame(array('HTTP/1.1 200 OK', 'Content-Type: text/html;charset=UTF-8', 'Etag: "1:2"', 'Content-Length: 0', 'Access-Control-Allow-Origin: *', 'Access-Control-Expose-Headers: ETag, Content-Length', '', null), $response->toArray());
    }