mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Made big headway in preference management, accounts, importing stuff, etc. etc.
This commit is contained in:
30
app/tests/models/TransactionJournalTest.php
Normal file
30
app/tests/models/TransactionJournalTest.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
class TransactionJournalTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* Default preparation for each test
|
||||
*/
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->prepareForTests();
|
||||
}
|
||||
|
||||
/**
|
||||
* Migrate the database
|
||||
*/
|
||||
private function prepareForTests()
|
||||
{
|
||||
Artisan::call('migrate');
|
||||
}
|
||||
|
||||
/**
|
||||
* Test accounts
|
||||
*/
|
||||
public function testJournal()
|
||||
{
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
}
|
@@ -68,11 +68,8 @@ class UserTest extends TestCase
|
||||
|
||||
$account->save();
|
||||
|
||||
|
||||
|
||||
$this->assertCount(1,$user->accounts()->get());
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user