mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-10 12:24:50 +00:00
Small bug fixes.
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
@@ -36,13 +36,13 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase
|
||||
// set period to match?
|
||||
|
||||
}
|
||||
// if selected "custom", change the session to a weird custom range:
|
||||
// custom is a weird range
|
||||
// (20 days):
|
||||
if ($range === "custom") {
|
||||
if ($range === 'custom') {
|
||||
$this->session(
|
||||
[
|
||||
'start' => Carbon::now(),
|
||||
'end' => Carbon::now()->subDays(20),
|
||||
'start' => Carbon::now()->subDays(20),
|
||||
'end' => Carbon::now(),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
@@ -164,7 +164,6 @@ class CsvControllerTest extends TestCase
|
||||
public function testProcess()
|
||||
{
|
||||
$this->be($this->user());
|
||||
//$this->session($this->getSessionData());
|
||||
|
||||
$fields = ['csv-file', 'csv-date-format', 'csv-has-headers', 'csv-map', 'csv-roles', 'csv-mapped', 'csv-delimiter'];
|
||||
$wizard = $this->mock('FireflyIII\Helpers\Csv\WizardInterface');
|
||||
|
||||
Reference in New Issue
Block a user