]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add another test.
authorThomas Tanghus <thomas@tanghus.net>
Thu, 19 Sep 2013 11:55:45 +0000 (13:55 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Mon, 23 Sep 2013 21:39:36 +0000 (23:39 +0200)
tests/lib/tags.php

index 16a03f5645ad43f8209b0cfe155a782f5c7ffb4f..92a96a14772f2945b82638a0bdfe7b10938c6b5d 100644 (file)
@@ -94,7 +94,7 @@ class Test_Tags extends PHPUnit_Framework_TestCase {
 
                $this->assertEquals(0, count($tagMgr->getTags()));
                $this->assertTrue($tagMgr->isEmpty());
-               $tagMgr->add('Tag');
+               $this->assertNotEquals(false, $tagMgr->add('Tag'));
                $this->assertFalse($tagMgr->isEmpty());
        }