More cleanup.

This commit is contained in:
James Cole
2016-01-24 18:11:57 +01:00
parent 7b2fe8eb4a
commit a013553a6c
18 changed files with 227 additions and 225 deletions

View File

@@ -22,8 +22,8 @@ class ChartReportControllerTest extends TestCase
$repository->shouldReceive('earnedPerMonth')->once()->andReturn([]);
$this->be($this->user());
$response = $this->call('GET', '/chart/report/in-out/default/20150101/20151231/1');
$this->assertEquals(200, $response->status());
$this->call('GET', '/chart/report/in-out/default/20150101/20151231/1');
$this->assertResponseStatus(200);
}
/**
@@ -36,7 +36,7 @@ class ChartReportControllerTest extends TestCase
$repository->shouldReceive('earnedPerMonth')->once()->andReturn([]);
$this->be($this->user());
$response = $this->call('GET', '/chart/report/in-out-sum/default/20150101/20151231/1');
$this->assertEquals(200, $response->status());
$this->call('GET', '/chart/report/in-out-sum/default/20150101/20151231/1');
$this->assertResponseStatus(200);
}
}