Tests now run without a database, as they should.

This commit is contained in:
James Cole
2015-04-03 07:33:18 +02:00
parent 36ec974284
commit 720926c50d
3 changed files with 14 additions and 4 deletions

View File

@@ -14,7 +14,6 @@ class AccountControllerTest extends TestCase
public function setUp()
{
parent::setUp();
Artisan::call('migrate');
}
@@ -42,6 +41,8 @@ class AccountControllerTest extends TestCase
Preferences::shouldReceive('get', 'viewRange')->andReturn($pref);
Amount::shouldReceive('getDefaultCurrency')->andReturn($currency);
Amount::shouldReceive('getAllCurrencies')->andReturn([$currency]);
// get all currencires?
$response = $this->call('GET', '/accounts/create/asset');
$this->assertResponseOk();