mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-10 04:21:20 +00:00
Even more tests!
This commit is contained in:
25
tests/unit/TransactionGroupTest.php
Normal file
25
tests/unit/TransactionGroupTest.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user