Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add heavy but working migrate routine. Will fix the tests but must be optimised. Also, should not be necessary.
James Cole36ec97428456
diff --git a/tests/TestCase.php b/tests/TestCase.phpindex 00a3c124e7..e48d3208ae 100644--- a/tests/TestCase.php+++ b/tests/TestCase.php@@ -19,6 +19,8 @@ class TestCase extends Illuminate\Foundation\Testing\TestCasereturn $app;}++/*** @param string $class*@@ -33,4 +35,6 @@ class TestCase extends Illuminate\Foundation\Testing\TestCasereturn $mock;}++}diff --git a/tests/controllers/AccountControllerTest.php b/tests/controllers/AccountControllerTest.phpindex ea9687accd..a6e7d76f43 100644--- a/tests/controllers/AccountControllerTest.php+++ b/tests/controllers/AccountControllerTest.php@@ -1,7 +1,6 @@<?phpuse FireflyIII\Models\Preference;use FireflyIII\Models\TransactionCurrency;-/*** Generated by PHPUnit_SkeletonGenerator on 2015-03-08 at 20:05:14.*/@@ -15,10 +14,12 @@ class AccountControllerTest extends TestCasepublic function setUp(){parent::setUp();+ Artisan::call('migrate');}+/*** Tears down the fixture, for example, closes a network connection.* This method is called after a test is executed.