mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-08 07:03:23 -06:00
19 lines
361 B
PHP
19 lines
361 B
PHP
|
<?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();
|
||
|
}
|
||
|
}
|