mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-30 12:43:57 -06:00
28 lines
515 B
PHP
28 lines
515 B
PHP
<?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());
|
|
}
|
|
}
|