]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
AtomPub tests: fix delete test
authorBrion Vibber <brion@pobox.com>
Tue, 14 Dec 2010 21:25:22 +0000 (13:25 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 14 Dec 2010 21:25:22 +0000 (13:25 -0800)
tests/atompub/atompub_test.php

index 389fd12c41fdf44bad0cf49e75b2ed80da8d1d8e..36a1ceec25a426718bae1d5aca1bb8291c08a35c 100644 (file)
@@ -157,7 +157,7 @@ class AtomPubClient
      */
     function delete()
     {
-        $client = $this->httpClient('GET');
+        $client = $this->httpClient('DELETE');
         $client->setBody($data);
         $response = $client->send();