summaryrefslogtreecommitdiff
path: root/tests/Api
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-09-29 20:49:14 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2010-09-29 20:49:14 +0000
commit70c39a8eea7896271c0ad3f0c435ec06c64074d1 (patch)
treef8a7935d6606d0c049c17dc38b7c95883894cda5 /tests/Api
parent22c9a01ee845d2b92fcab6b6cb10ac6ff0eec52e (diff)
downloadsemanticscuttle-70c39a8eea7896271c0ad3f0c435ec06c64074d1.tar.gz
semanticscuttle-70c39a8eea7896271c0ad3f0c435ec06c64074d1.tar.bz2
delicious returns a proper error message when deleting non-existant items, which we do now, too
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@770 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'tests/Api')
-rw-r--r--tests/Api/PostsDeleteTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Api/PostsDeleteTest.php b/tests/Api/PostsDeleteTest.php
index 626746f..d9fb6cd 100644
--- a/tests/Api/PostsDeleteTest.php
+++ b/tests/Api/PostsDeleteTest.php
@@ -215,7 +215,7 @@ class Api_PostsDeleteTest extends TestBaseApi
$this->assertTag(
array(
'tag' => 'result',
- 'attributes' => array('code' => 'something went wrong')
+ 'attributes' => array('code' => 'item not found')
),
$res->getBody(),
'', false