mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Test transaction views for transactions without budgets and categories.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user