Add test for renaming non-existing category.
This commit is contained in:
parent
c38dc36665
commit
946740a71f
1 changed files with 1 additions and 0 deletions
|
@ -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'));
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue