mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 18:44:16 +00:00
Improve test coverage.
This commit is contained in:
@@ -316,7 +316,7 @@ class CreateCSVImportTest extends TestCase
|
||||
'--user=1',
|
||||
'--token=token',
|
||||
];
|
||||
|
||||
Log::warning('The following error is part of a test.');
|
||||
$this->artisan('firefly-iii:csv-import ' . implode(' ', $parameters))
|
||||
->expectsOutput(sprintf('Import file : %s', $file))
|
||||
->expectsOutput(sprintf('Configuration file : %s', $config))
|
||||
@@ -373,7 +373,7 @@ class CreateCSVImportTest extends TestCase
|
||||
'--user=1',
|
||||
'--token=token',
|
||||
];
|
||||
|
||||
Log::warning('The following error is part of a test.');
|
||||
$this->artisan('firefly-iii:csv-import ' . implode(' ', $parameters))
|
||||
->expectsOutput(sprintf('Import file : %s', $file))
|
||||
->expectsOutput(sprintf('Configuration file : %s', $config))
|
||||
@@ -424,6 +424,7 @@ class CreateCSVImportTest extends TestCase
|
||||
'--user=1',
|
||||
'--token=token',
|
||||
];
|
||||
Log::warning('The following error is part of a test.');
|
||||
$this->artisan('firefly-iii:csv-import ' . implode(' ', $parameters))
|
||||
->expectsOutput(sprintf('Import file : %s', $file))
|
||||
->expectsOutput(sprintf('Configuration file : %s', $config))
|
||||
|
Reference in New Issue
Block a user