diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2013-05-20 13:57:18 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2013-05-20 13:57:18 +0200 |
commit | 946740a71f9f48df8afb69852688c3e5c28b213f (patch) | |
tree | 544c91d7e30a7c9acc31e47f32ca90073419370a /tests | |
parent | c38dc3666532199a40d78b647d10c62af4496246 (diff) | |
download | nextcloud-server-946740a71f9f48df8afb69852688c3e5c28b213f.tar.gz nextcloud-server-946740a71f9f48df8afb69852688c3e5c28b213f.zip |
Add test for renaming non-existing category.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/vcategories.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/lib/vcategories.php b/tests/lib/vcategories.php index a8af6ae9f7a..df5f600f20d 100644 --- a/tests/lib/vcategories.php +++ b/tests/lib/vcategories.php @@ -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')); } |