Wrote new tests.

This commit is contained in:
James Cole
2017-03-05 18:15:38 +01:00
parent 42cb40102f
commit 8e5ec79097
14 changed files with 613 additions and 16 deletions

View File

@@ -204,7 +204,6 @@ class TagController extends Controller
function (Tag $tag) {
$date = !is_null($tag->date) ? $tag->date->format('Ymd') : '000000';
return strtolower($date . $tag->tag);
}
);

View File

@@ -154,7 +154,6 @@ class TransactionController extends Controller
/** @var JournalCollectorInterface $collector */
$collector = app(JournalCollectorInterface::class);
$collector->setUser(auth()->user());
$collector->setTypes($types)->setLimit($pageSize)->setPage($page)->setAllAssetAccounts();
$collector->setRange($start, $end)->withBudgetInformation()->withCategoryInformation();
$collector->withOpposingAccount();