Add test for renaming non-existing category.

This commit is contained in:
Thomas Tanghus 2013-05-20 13:57:18 +02:00
parent c38dc36665
commit 946740a71f
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ class Test_VCategories extends PHPUnit_Framework_TestCase {
$this->assertTrue($catmgr->rename('Wrok', 'Work'));
$this->assertTrue($catmgr->hasCategory('Work'));
$this->assertFalse($catmgr->hasCategory('Wrok'));
$this->assertFalse($catmgr->rename('Wrok', 'Work'));
}