mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-10 12:24:50 +00:00
Moved all old code for Laravel 5.
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
<?php
|
||||
use League\FactoryMuffin\Facade as f;
|
||||
|
||||
/**
|
||||
* Class PiggyBankTest
|
||||
*/
|
||||
class PiggyBankTest extends TestCase
|
||||
{
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
{
|
||||
parent::tearDown();
|
||||
}
|
||||
|
||||
public function testPiggyBankReminders()
|
||||
{
|
||||
$reminder = f::create('Reminder');
|
||||
$piggyBank = f::create('PiggyBank');
|
||||
$piggyBank->reminders()->save($reminder);
|
||||
$this->assertCount(1, $piggyBank->reminders()->get());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user