fkooman\RemoteStorage\RemoteStorageServiceTest::testDeleteNonExistingDocument PHP Méthode

testDeleteNonExistingDocument() public méthode

    public function testDeleteNonExistingDocument()
    {
        $request = $this->getDeleteRequest('/admin/foo/bar/baz.txt');
        $response = $this->r->run($request);
        $this->assertSame(array('HTTP/1.1 404 Not Found', 'Content-Type: application/json', 'Content-Length: 61', 'Access-Control-Allow-Origin: *', 'Access-Control-Expose-Headers: ETag, Content-Length', 'Expires: 0', 'Cache-Control: no-cache', '', '{"error":"document \\"\\/admin\\/foo\\/bar\\/baz.txt\\" not found"}'), $response->toArray());
    }