mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -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');
|
$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
|
* @param FunctionalTester $I
|
||||||
*/
|
*/
|
||||||
|
@ -86,6 +86,15 @@ class CategoryControllerCest
|
|||||||
$I->wantTo('show all categories');
|
$I->wantTo('show all categories');
|
||||||
$I->amOnPage('/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
|
* @param FunctionalTester $I
|
||||||
|
Loading…
Reference in New Issue
Block a user