Skip to content

Firefly III: a personal finances manager

Test transaction views for transactions without budgets and categories.

James Cole4bb17019a43f
diff --git a/tests/functional/BudgetControllerCest.php b/tests/functional/BudgetControllerCest.php
index a81c7e0b33..35c97692e1 100644
--- a/tests/functional/BudgetControllerCest.php
+++ b/tests/functional/BudgetControllerCest.php
@@ -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
*/
diff --git a/tests/functional/CategoryControllerCest.php b/tests/functional/CategoryControllerCest.php
index 3a7b5d10ba..cef60dee22 100644
--- a/tests/functional/CategoryControllerCest.php
+++ b/tests/functional/CategoryControllerCest.php
@@ -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