mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-20 08:30:06 +00:00
Improve test coverage.
This commit is contained in:
@@ -126,6 +126,7 @@ class AttachmentControllerTest extends TestCase
|
||||
$repository->shouldReceive('exists')->once()->andReturn(false);
|
||||
|
||||
|
||||
Log::warning('The following error is part of a test.');
|
||||
$this->be($this->user());
|
||||
$response = $this->get(route('attachments.download', [$attachment->id]));
|
||||
$response->assertStatus(500);
|
||||
|
||||
Reference in New Issue
Block a user