mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Cleaning up test data.
This commit is contained in:
@@ -31,15 +31,17 @@ class TestCase extends Illuminate\Foundation\Testing\TestCase
|
||||
'data' => $range,
|
||||
]
|
||||
);
|
||||
// set period to match?
|
||||
|
||||
}
|
||||
// if selected "custom", change the session to a weird custom range:
|
||||
// (20 days):
|
||||
if($range === "custom") {
|
||||
if ($range === "custom") {
|
||||
$this->session(
|
||||
[
|
||||
'start' => Carbon::now(),
|
||||
'end' => Carbon::now()->subDays(20),
|
||||
]
|
||||
'end' => Carbon::now()->subDays(20),
|
||||
]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user