mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-22 22:43:20 -06:00
29 lines
559 B
PHP
29 lines
559 B
PHP
<?php
|
|
|
|
class AccountControllerTest extends TestCase
|
|
{
|
|
public function setUp()
|
|
{
|
|
parent::setUp();
|
|
}
|
|
|
|
public function testCreate()
|
|
{
|
|
// mock:
|
|
View::shouldReceive('share');
|
|
View::shouldReceive('make')->with('accounts.create');
|
|
|
|
// call
|
|
$this->call('GET', '/accounts/create');
|
|
|
|
// test
|
|
$this->assertResponseOk();
|
|
}
|
|
|
|
public function testShow()
|
|
{
|
|
|
|
// the route filters on accounts using Eloquent, maybe fix that instead?
|
|
$this->assertTrue(true);
|
|
}
|
|
} |