mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-09 03:08:09 +00:00
Some new tests and a bug fix for piggy banks.
This commit is contained in:
@@ -73,6 +73,11 @@ class HomeControllerTest extends TestCase
|
||||
$user = FactoryMuffin::create('FireflyIII\User');
|
||||
$this->be($user);
|
||||
|
||||
// create at least one tag:
|
||||
$tag = FactoryMuffin::create('FireflyIII\Models\Tag');
|
||||
$journal = FactoryMuffin::create('FireflyIII\Models\TransactionJournal');
|
||||
$journal->tags()->save($tag);
|
||||
|
||||
$this->call('GET', '/flush');
|
||||
$this->assertResponseStatus(302);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user