Remove unused variable.
This commit is contained in:
parent
a50f98606d
commit
831c2cac1e
|
@ -55,7 +55,7 @@ class Test_VCategories extends UnitTestCase {
|
||||||
public function testAddCategories() {
|
public function testAddCategories() {
|
||||||
$categories = array('Friends', 'Family', 'Work', 'Other');
|
$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) {
|
foreach($categories as $category) {
|
||||||
$result = $catmgr->add($category);
|
$result = $catmgr->add($category);
|
||||||
|
|
Loading…
Reference in New Issue