diff --git a/tests/lib/vcategories.php b/tests/lib/vcategories.php
index 1d188297ad493b151554d0cebb4142b81972184a..63516a063daa62f4cbe37f7054ef9626c0153546 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);