mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-27 03:10:32 -06:00
Test transaction views for transactions without budgets and categories.
This commit is contained in:
parent
ba2a40bdf3
commit
4bb17019a4
@ -105,6 +105,16 @@ class BudgetControllerCest
|
||||
$I->see('Budgets');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param FunctionalTester $I
|
||||
*/
|
||||
public function indexNoBudget(FunctionalTester $I)
|
||||
{
|
||||
$I->wantTo('see transactions without a budget');
|
||||
$I->amOnPage('/budgets/list/noBudget');
|
||||
$I->see('Transactions without a budget in');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param FunctionalTester $I
|
||||
*/
|
||||
|
@ -86,6 +86,15 @@ class CategoryControllerCest
|
||||
$I->wantTo('show all categories');
|
||||
$I->amOnPage('/categories');
|
||||
}
|
||||
/**
|
||||
* @param FunctionalTester $I
|
||||
*/
|
||||
public function indexNoCategory(FunctionalTester $I)
|
||||
{
|
||||
$I->wantTo('see transactions without a category');
|
||||
$I->amOnPage('/categories/list/noCategory');
|
||||
$I->see('Transactions without a category in');
|
||||
}
|
||||
|
||||
/**
|
||||
* @param FunctionalTester $I
|
||||
|
Loading…
Reference in New Issue
Block a user