mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-09 19:28:19 +00:00
Made big headway in preference management, accounts, importing stuff, etc. etc.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
class AccountControllerTest extends TestCase {
|
||||
|
||||
class AccountControllerTest extends TestCase
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
@@ -8,6 +10,7 @@ class AccountControllerTest extends TestCase {
|
||||
public function testCreate()
|
||||
{
|
||||
// mock:
|
||||
View::shouldReceive('share');
|
||||
View::shouldReceive('make')->with('accounts.create');
|
||||
|
||||
// call
|
||||
@@ -16,4 +19,11 @@ class AccountControllerTest extends TestCase {
|
||||
// test
|
||||
$this->assertResponseOk();
|
||||
}
|
||||
|
||||
public function testShow()
|
||||
{
|
||||
|
||||
// the route filters on accounts using Eloquent, maybe fix that instead?
|
||||
$this->assertTrue(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user