diff --git a/tests/repositories/BudgetRepositoryTest.php b/tests/repositories/BudgetRepositoryTest.php new file mode 100644 index 0000000000..5ae8641b39 --- /dev/null +++ b/tests/repositories/BudgetRepositoryTest.php @@ -0,0 +1,271 @@ +object = new BudgetRepository; + parent::setUp(); + } + + /** + * Tears down the fixture, for example, closes a network connection. + * This method is called after a test is executed. + */ + public function tearDown() + { + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::cleanupBudgets + * @todo Implement testCleanupBudgets(). + */ + public function testCleanupBudgets() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::destroy + * @todo Implement testDestroy(). + */ + public function testDestroy() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::expensesOnDay + * @todo Implement testExpensesOnDay(). + */ + public function testExpensesOnDay() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::getActiveBudgets + * @todo Implement testGetActiveBudgets(). + */ + public function testGetActiveBudgets() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::getBudgetLimitRepetitions + * @todo Implement testGetBudgetLimitRepetitions(). + */ + public function testGetBudgetLimitRepetitions() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::getBudgetLimits + * @todo Implement testGetBudgetLimits(). + */ + public function testGetBudgetLimits() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::getBudgets + * @todo Implement testGetBudgets(). + */ + public function testGetBudgets() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::getCurrentRepetition + * @todo Implement testGetCurrentRepetition(). + */ + public function testGetCurrentRepetition() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::getFirstBudgetLimitDate + * @todo Implement testGetFirstBudgetLimitDate(). + */ + public function testGetFirstBudgetLimitDate() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::getInactiveBudgets + * @todo Implement testGetInactiveBudgets(). + */ + public function testGetInactiveBudgets() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::getJournals + * @todo Implement testGetJournals(). + */ + public function testGetJournals() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::getLastBudgetLimitDate + * @todo Implement testGetLastBudgetLimitDate(). + */ + public function testGetLastBudgetLimitDate() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::getLimitAmountOnDate + * @todo Implement testGetLimitAmountOnDate(). + */ + public function testGetLimitAmountOnDate() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::getWithoutBudget + * @todo Implement testGetWithoutBudget(). + */ + public function testGetWithoutBudget() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::getWithoutBudgetSum + * @todo Implement testGetWithoutBudgetSum(). + */ + public function testGetWithoutBudgetSum() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::spentInMonth + * @todo Implement testSpentInMonth(). + */ + public function testSpentInMonth() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::store + * @todo Implement testStore(). + */ + public function testStore() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::sumBudgetExpensesInPeriod + * @todo Implement testSumBudgetExpensesInPeriod(). + */ + public function testSumBudgetExpensesInPeriod() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::update + * @todo Implement testUpdate(). + */ + public function testUpdate() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Budget\BudgetRepository::updateLimitAmount + * @todo Implement testUpdateLimitAmount(). + */ + public function testUpdateLimitAmount() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } +} diff --git a/tests/repositories/CategoryRepositoryTest.php b/tests/repositories/CategoryRepositoryTest.php new file mode 100644 index 0000000000..b17a838fdc --- /dev/null +++ b/tests/repositories/CategoryRepositoryTest.php @@ -0,0 +1,175 @@ +object = new CategoryRepository; + parent::setUp(); + } + + /** + * Tears down the fixture, for example, closes a network connection. + * This method is called after a test is executed. + */ + public function tearDown() + { + } + + /** + * @covers FireflyIII\Repositories\Category\CategoryRepository::countJournals + * @todo Implement testCountJournals(). + */ + public function testCountJournals() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Category\CategoryRepository::destroy + * @todo Implement testDestroy(). + */ + public function testDestroy() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Category\CategoryRepository::getCategories + * @todo Implement testGetCategories(). + */ + public function testGetCategories() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Category\CategoryRepository::getCategoriesAndExpenses + * @todo Implement testGetCategoriesAndExpenses(). + */ + public function testGetCategoriesAndExpenses() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Category\CategoryRepository::getFirstActivityDate + * @todo Implement testGetFirstActivityDate(). + */ + public function testGetFirstActivityDate() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Category\CategoryRepository::getJournals + * @todo Implement testGetJournals(). + */ + public function testGetJournals() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Category\CategoryRepository::getLatestActivity + * @todo Implement testGetLatestActivity(). + */ + public function testGetLatestActivity() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Category\CategoryRepository::getWithoutCategory + * @todo Implement testGetWithoutCategory(). + */ + public function testGetWithoutCategory() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Category\CategoryRepository::spentInPeriodSum + * @todo Implement testSpentInPeriodSum(). + */ + public function testSpentInPeriodSum() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Category\CategoryRepository::spentOnDaySum + * @todo Implement testSpentOnDaySum(). + */ + public function testSpentOnDaySum() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Category\CategoryRepository::store + * @todo Implement testStore(). + */ + public function testStore() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Category\CategoryRepository::update + * @todo Implement testUpdate(). + */ + public function testUpdate() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } +} diff --git a/tests/repositories/CurrencyRepositoryTest.php b/tests/repositories/CurrencyRepositoryTest.php new file mode 100644 index 0000000000..650b1a16b0 --- /dev/null +++ b/tests/repositories/CurrencyRepositoryTest.php @@ -0,0 +1,91 @@ +object = new CurrencyRepository; + parent::setUp(); + } + + /** + * Tears down the fixture, for example, closes a network connection. + * This method is called after a test is executed. + */ + public function tearDown() + { + } + + /** + * @covers FireflyIII\Repositories\Currency\CurrencyRepository::countJournals + * @todo Implement testCountJournals(). + */ + public function testCountJournals() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Currency\CurrencyRepository::get + * @todo Implement testGet(). + */ + public function testGet() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Currency\CurrencyRepository::getCurrencyByPreference + * @todo Implement testGetCurrencyByPreference(). + */ + public function testGetCurrencyByPreference() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Currency\CurrencyRepository::store + * @todo Implement testStore(). + */ + public function testStore() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Currency\CurrencyRepository::update + * @todo Implement testUpdate(). + */ + public function testUpdate() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } +} diff --git a/tests/repositories/JournalRepositoryTest.php b/tests/repositories/JournalRepositoryTest.php new file mode 100644 index 0000000000..0db59abc60 --- /dev/null +++ b/tests/repositories/JournalRepositoryTest.php @@ -0,0 +1,175 @@ +object = new JournalRepository; + parent::setUp(); + } + + /** + * Tears down the fixture, for example, closes a network connection. + * This method is called after a test is executed. + */ + public function tearDown() + { + } + + /** + * @covers FireflyIII\Repositories\Journal\JournalRepository::deactivateReminder + * @todo Implement testDeactivateReminder(). + */ + public function testDeactivateReminder() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Journal\JournalRepository::delete + * @todo Implement testDelete(). + */ + public function testDelete() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Journal\JournalRepository::first + * @todo Implement testFirst(). + */ + public function testFirst() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Journal\JournalRepository::getAmountBefore + * @todo Implement testGetAmountBefore(). + */ + public function testGetAmountBefore() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Journal\JournalRepository::getJournalsOfType + * @todo Implement testGetJournalsOfType(). + */ + public function testGetJournalsOfType() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Journal\JournalRepository::getJournalsOfTypes + * @todo Implement testGetJournalsOfTypes(). + */ + public function testGetJournalsOfTypes() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Journal\JournalRepository::getTransactionType + * @todo Implement testGetTransactionType(). + */ + public function testGetTransactionType() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Journal\JournalRepository::getWithDate + * @todo Implement testGetWithDate(). + */ + public function testGetWithDate() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Journal\JournalRepository::saveTags + * @todo Implement testSaveTags(). + */ + public function testSaveTags() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Journal\JournalRepository::store + * @todo Implement testStore(). + */ + public function testStore() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Journal\JournalRepository::update + * @todo Implement testUpdate(). + */ + public function testUpdate() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Journal\JournalRepository::updateTags + * @todo Implement testUpdateTags(). + */ + public function testUpdateTags() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } +} diff --git a/tests/repositories/PiggyBankRepositoryTest.php b/tests/repositories/PiggyBankRepositoryTest.php new file mode 100644 index 0000000000..8dcf8e0864 --- /dev/null +++ b/tests/repositories/PiggyBankRepositoryTest.php @@ -0,0 +1,163 @@ +object = new PiggyBankRepository; + parent::setUp(); + } + + /** + * Tears down the fixture, for example, closes a network connection. + * This method is called after a test is executed. + */ + public function tearDown() + { + } + + /** + * @covers FireflyIII\Repositories\PiggyBank\PiggyBankRepository::calculateParts + * @todo Implement testCalculateParts(). + */ + public function testCalculateParts() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\PiggyBank\PiggyBankRepository::createEvent + * @todo Implement testCreateEvent(). + */ + public function testCreateEvent() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\PiggyBank\PiggyBankRepository::createPiggyBankPart + * @todo Implement testCreatePiggyBankPart(). + */ + public function testCreatePiggyBankPart() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\PiggyBank\PiggyBankRepository::destroy + * @todo Implement testDestroy(). + */ + public function testDestroy() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\PiggyBank\PiggyBankRepository::getEventSummarySet + * @todo Implement testGetEventSummarySet(). + */ + public function testGetEventSummarySet() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\PiggyBank\PiggyBankRepository::getEvents + * @todo Implement testGetEvents(). + */ + public function testGetEvents() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\PiggyBank\PiggyBankRepository::getPiggyBanks + * @todo Implement testGetPiggyBanks(). + */ + public function testGetPiggyBanks() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\PiggyBank\PiggyBankRepository::reset + * @todo Implement testReset(). + */ + public function testReset() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\PiggyBank\PiggyBankRepository::setOrder + * @todo Implement testSetOrder(). + */ + public function testSetOrder() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\PiggyBank\PiggyBankRepository::store + * @todo Implement testStore(). + */ + public function testStore() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\PiggyBank\PiggyBankRepository::update + * @todo Implement testUpdate(). + */ + public function testUpdate() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } +} diff --git a/tests/repositories/ReminderRepositoryTest.php b/tests/repositories/ReminderRepositoryTest.php new file mode 100644 index 0000000000..2a7e96652c --- /dev/null +++ b/tests/repositories/ReminderRepositoryTest.php @@ -0,0 +1,79 @@ +object = new ReminderRepository; + parent::setUp(); + } + + /** + * Tears down the fixture, for example, closes a network connection. + * This method is called after a test is executed. + */ + public function tearDown() + { + } + + /** + * @covers FireflyIII\Repositories\Reminder\ReminderRepository::getActiveReminders + * @todo Implement testGetActiveReminders(). + */ + public function testGetActiveReminders() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Reminder\ReminderRepository::getDismissedReminders + * @todo Implement testGetDismissedReminders(). + */ + public function testGetDismissedReminders() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Reminder\ReminderRepository::getExpiredReminders + * @todo Implement testGetExpiredReminders(). + */ + public function testGetExpiredReminders() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Reminder\ReminderRepository::getInactiveReminders + * @todo Implement testGetInactiveReminders(). + */ + public function testGetInactiveReminders() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } +} diff --git a/tests/repositories/TagRepositoryTest.php b/tests/repositories/TagRepositoryTest.php new file mode 100644 index 0000000000..36b023ba7b --- /dev/null +++ b/tests/repositories/TagRepositoryTest.php @@ -0,0 +1,91 @@ +object = new TagRepository; + parent::setUp(); + } + + /** + * Tears down the fixture, for example, closes a network connection. + * This method is called after a test is executed. + */ + public function tearDown() + { + } + + /** + * @covers FireflyIII\Repositories\Tag\TagRepository::connect + * @todo Implement testConnect(). + */ + public function testConnect() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Tag\TagRepository::destroy + * @todo Implement testDestroy(). + */ + public function testDestroy() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Tag\TagRepository::get + * @todo Implement testGet(). + */ + public function testGet() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Tag\TagRepository::store + * @todo Implement testStore(). + */ + public function testStore() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } + + /** + * @covers FireflyIII\Repositories\Tag\TagRepository::update + * @todo Implement testUpdate(). + */ + public function testUpdate() + { + // Remove the following lines when you implement this test. + $this->markTestIncomplete( + 'This test has not been implemented yet.' + ); + } +}