mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-22 03:56:42 +00:00
Improve test coverage.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user