]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove unused variable.
authorThomas Tanghus <thomas@tanghus.net>
Mon, 5 Nov 2012 15:29:44 +0000 (16:29 +0100)
committerThomas Tanghus <thomas@tanghus.net>
Mon, 5 Nov 2012 15:29:44 +0000 (16:29 +0100)
tests/lib/vcategories.php

index 1d188297ad493b151554d0cebb4142b81972184a..63516a063daa62f4cbe37f7054ef9626c0153546 100644 (file)
@@ -55,7 +55,7 @@ class Test_VCategories extends UnitTestCase {
        public function testAddCategories() {
                $categories = array('Friends', 'Family', 'Work', 'Other');
 
-               $catmgr = new OC_VCategories($this->objectType, $this->user, $defcategories);
+               $catmgr = new OC_VCategories($this->objectType, $this->user);
 
                foreach($categories as $category) {
                        $result = $catmgr->add($category);