diff options
author | Mark Pemberton <mpemberton5@gmail.com> | 2011-05-21 14:36:29 -0400 |
---|---|---|
committer | Mark Pemberton <mpemberton5@gmail.com> | 2011-05-21 14:36:29 -0400 |
commit | e0149e24e2b5fac3b875fda468b18fbe2b6b1218 (patch) | |
tree | 01547d72aff07859c53b406f6c68775e4d1c5c74 /tests/Api/PostsAddTest.php | |
parent | 5203848b12ccda0009409e08165bfa2d9d34a837 (diff) | |
download | semanticscuttle-e0149e24e2b5fac3b875fda468b18fbe2b6b1218.tar.gz semanticscuttle-e0149e24e2b5fac3b875fda468b18fbe2b6b1218.tar.bz2 |
Resolve some failed bookmark and tag tests
Diffstat (limited to 'tests/Api/PostsAddTest.php')
-rw-r--r-- | tests/Api/PostsAddTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Api/PostsAddTest.php b/tests/Api/PostsAddTest.php index 02e2b38..e6d0531 100644 --- a/tests/Api/PostsAddTest.php +++ b/tests/Api/PostsAddTest.php @@ -108,7 +108,7 @@ TXT; $this->assertEquals($bmUrl, $bm['bAddress']); $this->assertEquals($bmTitle, $bm['bTitle']); - $this->assertEquals($bmDescription, $bm['bDescription']); + $this->assertEquals($bmDescription, stripslashes($bm['bDescription'])); $this->assertEquals($bmTags, $bm['tags']); $this->assertEquals( gmdate('Y-m-d H:i:s', strtotime($bmDatetime)), @@ -170,7 +170,7 @@ TXT; $this->assertEquals($bmUrl, $bm['bAddress']); $this->assertEquals($bmTitle, $bm['bTitle']); - $this->assertEquals($bmDescription, $bm['bDescription']); + $this->assertEquals($bmDescription, stripslashes($bm['bDescription'])); $this->assertEquals($bmTags, $bm['tags']); $this->assertEquals( gmdate('Y-m-d H:i:s', strtotime($bmDatetime)), |