mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix tests.
This commit is contained in:
parent
eb8f5512c5
commit
abb8eafec2
@ -152,16 +152,16 @@ class BudgetControllerTest extends TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers \FireflyIII\Http\Controllers\BudgetController::showByRepetition
|
* @covers \FireflyIII\Http\Controllers\BudgetController::showByBudgetLimit()
|
||||||
* @dataProvider dateRangeProvider
|
* @dataProvider dateRangeProvider
|
||||||
*
|
*
|
||||||
* @param string $range
|
* @param string $range
|
||||||
*/
|
*/
|
||||||
public function testShowByRepetition(string $range)
|
public function testShowByBudgetLimit(string $range)
|
||||||
{
|
{
|
||||||
$this->be($this->user());
|
$this->be($this->user());
|
||||||
$this->changeDateRange($this->user(), $range);
|
$this->changeDateRange($this->user(), $range);
|
||||||
$this->call('GET', route('budgets.show.repetition', [1, 1]));
|
$this->call('GET', route('budgets.show.limit', [1, 1]));
|
||||||
$this->assertResponseStatus(200);
|
$this->assertResponseStatus(200);
|
||||||
// has bread crumb
|
// has bread crumb
|
||||||
$this->see('<ol class="breadcrumb">');
|
$this->see('<ol class="breadcrumb">');
|
||||||
|
Loading…
Reference in New Issue
Block a user