Update integration tests

This commit is contained in:
Frederic Guillot
2017-04-08 18:18:37 -04:00
parent 22cfbd9e56
commit a9aed917dd

View File

@@ -53,11 +53,7 @@ class MeProcedureTest extends BaseProcedureTest
{ {
$dashboard = $this->user->getMyDashboard(); $dashboard = $this->user->getMyDashboard();
$this->assertNotEmpty($dashboard); $this->assertNotEmpty($dashboard);
$this->assertArrayHasKey('projects', $dashboard); $this->assertEquals('My task', $dashboard[0]['title']);
$this->assertArrayHasKey('tasks', $dashboard);
$this->assertArrayHasKey('subtasks', $dashboard);
$this->assertNotEmpty($dashboard['projects']);
$this->assertNotEmpty($dashboard['tasks']);
} }
public function assertGetMyActivityStream() public function assertGetMyActivityStream()