mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
All kinds of new stuff: finished most of the importing routines, extended the database (single table inheritance) and expanded some other stuff.
This commit is contained in:
19
app/tests/controllers/AccountControllerTest.php
Normal file
19
app/tests/controllers/AccountControllerTest.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
class AccountControllerTest extends TestCase {
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
}
|
||||
|
||||
public function testCreate()
|
||||
{
|
||||
// mock:
|
||||
View::shouldReceive('make')->with('accounts.create');
|
||||
|
||||
// call
|
||||
$this->call('GET', '/accounts/create');
|
||||
|
||||
// test
|
||||
$this->assertResponseOk();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user