mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 20:25:28 +00:00
Improve test coverage.
This commit is contained in:
@@ -295,6 +295,7 @@ class CurrencyControllerTest extends TestCase
|
||||
$repository->shouldReceive('getAll')->atLeast()->once()->andReturn(new Collection);
|
||||
Preferences::shouldReceive('mark')->atLeast()->once();
|
||||
|
||||
Log::warning('The following error is part of a test.');
|
||||
$this->be($this->user());
|
||||
$response = $this->get(route('currencies.disable', [$euro->id]));
|
||||
$response->assertStatus(500);
|
||||
|
||||
Reference in New Issue
Block a user