firefly-iii/tests/unit/TransactionGroupTest.php

25 lines
424 B
PHP
Raw Normal View History

2015-01-01 06:32:31 -06:00
<?php
use League\FactoryMuffin\Facade as f;
/**
* Class TransactionGroupTest
*/
class TransactionGroupTest extends TestCase
{
public function setUp()
{
parent::setUp();
}
public function tearDown()
{
parent::tearDown();
}
public function testUser()
{
$group = f::create('TransactionGroup');
$this->assertEquals($group->user_id, $group->user->id);
}
}