Fix tests.

This commit is contained in:
James Cole 2016-12-30 11:57:21 +01:00
parent eb8f5512c5
commit abb8eafec2
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -152,16 +152,16 @@ class BudgetControllerTest extends TestCase
}
/**
* @covers \FireflyIII\Http\Controllers\BudgetController::showByRepetition
* @covers \FireflyIII\Http\Controllers\BudgetController::showByBudgetLimit()
* @dataProvider dateRangeProvider
*
* @param string $range
*/
public function testShowByRepetition(string $range)
public function testShowByBudgetLimit(string $range)
{
$this->be($this->user());
$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);
// has bread crumb
$this->see('<ol class="breadcrumb">');