Tag syncing is now done within the Component commands

This commit is contained in:
James Brooks
2019-07-12 10:29:23 +01:00
parent 06af61b8c5
commit 6810af48f7
10 changed files with 197 additions and 64 deletions

View File

@@ -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');

View File

@@ -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']
);