colors for visual grouping of customer, projects and activities (#751)
This commit is contained in:
@@ -224,7 +224,7 @@ class ActivityControllerTest extends APIControllerBaseTest
|
||||
$expectedKeys = ['id', 'name', 'visible', 'project', 'hourlyRate', 'fixedRate'];
|
||||
|
||||
if ($full) {
|
||||
$expectedKeys = array_merge($expectedKeys, ['comment']);
|
||||
$expectedKeys = array_merge($expectedKeys, ['comment', 'color']);
|
||||
}
|
||||
|
||||
$actual = array_keys($result);
|
||||
|
||||
@@ -168,7 +168,7 @@ class CustomerControllerTest extends APIControllerBaseTest
|
||||
|
||||
if ($full) {
|
||||
$expectedKeys = array_merge($expectedKeys, [
|
||||
'homepage', 'number', 'comment', 'company', 'contact', 'address', 'country', 'currency', 'phone', 'fax', 'mobile', 'email', 'timezone'
|
||||
'homepage', 'number', 'comment', 'company', 'contact', 'address', 'country', 'currency', 'phone', 'fax', 'mobile', 'email', 'timezone', 'color'
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -220,7 +220,7 @@ class ProjectControllerTest extends APIControllerBaseTest
|
||||
if ($full) {
|
||||
$expectedKeys = array_merge(
|
||||
$expectedKeys,
|
||||
['comment', 'budget', 'orderNumber']
|
||||
['comment', 'budget', 'orderNumber', 'color']
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user