From 946740a71f9f48df8afb69852688c3e5c28b213f Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Mon, 20 May 2013 13:57:18 +0200 Subject: [PATCH] Add test for renaming non-existing category. --- tests/lib/vcategories.php | 1 + 1 file changed, 1 insertion(+) 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')); } -- 2.39.5