mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Fix API tests
This commit is contained in:
@@ -231,7 +231,11 @@ abstract class TestCase extends BaseTestCase
|
||||
$falseConfig = new Configuration;
|
||||
$falseConfig->data = false;
|
||||
|
||||
$idConfig = new Configuration;
|
||||
$idConfig->data = 'abc';
|
||||
|
||||
FireflyConfig::shouldReceive('get')->withArgs(['is_demo_site', false])->andReturn($falseConfig);
|
||||
FireflyConfig::shouldReceive('get')->withArgs(['installation_id', null])->andReturn($idConfig);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user