Tag syncing is now done within the Component commands
This commit is contained in:
@@ -37,6 +37,7 @@ class CreateComponentCommandTest extends AbstractTestCase
|
||||
'group_id' => 0,
|
||||
'enabled' => true,
|
||||
'meta' => null,
|
||||
'tags' => 'Foo, Bar',
|
||||
];
|
||||
$object = new CreateComponentCommand(
|
||||
$params['name'],
|
||||
@@ -46,7 +47,8 @@ class CreateComponentCommandTest extends AbstractTestCase
|
||||
$params['order'],
|
||||
$params['group_id'],
|
||||
$params['enabled'],
|
||||
$params['meta']
|
||||
$params['meta'],
|
||||
$params['tags']
|
||||
);
|
||||
|
||||
return compact('params', 'object');
|
||||
|
||||
@@ -39,6 +39,7 @@ class UpdateComponentCommandTest extends AbstractTestCase
|
||||
'group_id' => 0,
|
||||
'enabled' => true,
|
||||
'meta' => null,
|
||||
'tags' => null,
|
||||
'silent' => false,
|
||||
];
|
||||
|
||||
@@ -52,6 +53,7 @@ class UpdateComponentCommandTest extends AbstractTestCase
|
||||
$params['group_id'],
|
||||
$params['enabled'],
|
||||
$params['meta'],
|
||||
$params['tags'],
|
||||
$params['silent']
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user