Improve test coverage.

This commit is contained in:
James Cole
2019-07-24 19:02:41 +02:00
parent 226e2f7185
commit ee95606ec0
39 changed files with 378 additions and 234 deletions

View File

@@ -60,8 +60,8 @@ class UpdateControllerTest extends TestCase
$this->mockDefaultSession();
// mock update calls.
$config = new Configuration;
$config->data = -1;
$config = new Configuration;
$config->data = -1;
FireflyConfig::shouldReceive('get')->withArgs(['permission_update_check', -1])->once()->andReturn($config);
// call service