improved calendar (#784)
This commit is contained in:
@@ -221,10 +221,10 @@ class ActivityControllerTest extends APIControllerBaseTest
|
||||
|
||||
protected function assertStructure(array $result, $full = true)
|
||||
{
|
||||
$expectedKeys = ['id', 'name', 'visible', 'project', 'hourlyRate', 'fixedRate'];
|
||||
$expectedKeys = ['id', 'name', 'visible', 'project', 'hourlyRate', 'fixedRate', 'color'];
|
||||
|
||||
if ($full) {
|
||||
$expectedKeys = array_merge($expectedKeys, ['comment', 'color']);
|
||||
$expectedKeys = array_merge($expectedKeys, ['comment']);
|
||||
}
|
||||
|
||||
$actual = array_keys($result);
|
||||
|
||||
Reference in New Issue
Block a user