mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 13:16:31 +00:00
Updated all tests to include the range.
This commit is contained in:
@@ -65,6 +65,7 @@ class TransactionControllerTest extends TestCase
|
||||
public function testIndex($range)
|
||||
{
|
||||
$this->be($this->user());
|
||||
$this->changeDateRange($this->user(), $range);
|
||||
$this->call('GET', '/transactions/deposit');
|
||||
$this->assertResponseStatus(200);
|
||||
}
|
||||
@@ -90,6 +91,7 @@ class TransactionControllerTest extends TestCase
|
||||
public function testShow($range)
|
||||
{
|
||||
$this->be($this->user());
|
||||
$this->changeDateRange($this->user(), $range);
|
||||
$this->call('GET', '/transaction/show/1');
|
||||
$this->assertResponseStatus(200);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user