mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 12:15:55 +00:00
Disable all kinds of tests until upgrades are complete.
This commit is contained in:
@@ -61,16 +61,15 @@ class PreferencesControllerTest extends TestCase
|
||||
Preferences::shouldReceive('getForUser')->withArgs([Mockery::any(), $pref])->once();
|
||||
}
|
||||
// extra call for frontpage preference
|
||||
$pref = new Preference;
|
||||
$pref->data =[1];
|
||||
Preferences::shouldReceive('getForUser')->withArgs([Mockery::any(), 'frontPageAccounts',[]])->once()
|
||||
->andReturn($pref);
|
||||
$pref = new Preference;
|
||||
$pref->data = [1];
|
||||
Preferences::shouldReceive('getForUser')->withArgs([Mockery::any(), 'frontPageAccounts', []])->once()
|
||||
->andReturn($pref);
|
||||
|
||||
// mock calls to transformer:
|
||||
$transformer->shouldReceive('setParameters')->withAnyArgs()->atLeast()->once();
|
||||
|
||||
|
||||
|
||||
// call API
|
||||
$response = $this->get('/api/v1/preferences');
|
||||
$response->assertStatus(200);
|
||||
|
||||
Reference in New Issue
Block a user