aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/lib/tags.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lib/tags.php b/tests/lib/tags.php
index 976b4b4fdc8..3eba470a509 100644
--- a/tests/lib/tags.php
+++ b/tests/lib/tags.php
@@ -160,7 +160,9 @@ class Test_Tags extends PHPUnit_Framework_TestCase {
public function testFavorite() {
$tagger = $this->tagMgr->load($this->objectType);
$this->assertTrue($tagger->addToFavorites(1));
+ $this->assertEquals(array(1), $tagger->getFavorites());
$this->assertTrue($tagger->removeFromFavorites(1));
+ $this->assertEquals(array(), $tagger->getFavorites());
}
}