summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/vcategories.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/vcategories.php b/tests/lib/vcategories.php
index 1d188297ad4..63516a063da 100644
--- a/tests/lib/vcategories.php
+++ b/tests/lib/vcategories.php
@@ -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);