diff options
Diffstat (limited to 'tests/integration')
-rw-r--r-- | tests/integration/MeProcedureTest.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/integration/MeProcedureTest.php b/tests/integration/MeProcedureTest.php index 5d30b61b..2106419c 100644 --- a/tests/integration/MeProcedureTest.php +++ b/tests/integration/MeProcedureTest.php @@ -53,7 +53,11 @@ class MeProcedureTest extends BaseProcedureTest { $dashboard = $this->user->getMyDashboard(); $this->assertNotEmpty($dashboard); - $this->assertEquals($this->userUserId, $dashboard[0]['owner_id']); + $this->assertArrayHasKey('projects', $dashboard); + $this->assertArrayHasKey('tasks', $dashboard); + $this->assertArrayHasKey('subtasks', $dashboard); + $this->assertNotEmpty($dashboard['projects']); + $this->assertNotEmpty($dashboard['tasks']); } public function assertGetMyActivityStream() |