mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-07 06:33:57 -06:00
77 lines
1.5 KiB
PHP
77 lines
1.5 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Generated by PHPUnit_SkeletonGenerator on 2015-03-08 at 20:05:14.
|
|
*/
|
|
class AccountControllerTest extends TestCase
|
|
{
|
|
|
|
/**
|
|
* Sets up the fixture, for example, opens a network connection.
|
|
* This method is called before a test is executed.
|
|
*/
|
|
public function setUp()
|
|
{
|
|
parent::setUp();
|
|
$this->be(FireflyIII\User::whereEmail('thegrumpydictator@gmail.com')->first());
|
|
|
|
|
|
}
|
|
|
|
/**
|
|
* Tears down the fixture, for example, closes a network connection.
|
|
* This method is called after a test is executed.
|
|
*/
|
|
public function tearDown()
|
|
{
|
|
parent::tearDown();
|
|
}
|
|
|
|
|
|
public function testCreate()
|
|
{
|
|
$response = $this->call('GET', '/accounts/create/asset');
|
|
$this->assertResponseOk();
|
|
$this->assertViewHas('subTitle', 'Create a new asset account');
|
|
$this->assertViewHas('subTitleIcon', 'fa-money');
|
|
$this->assertViewHas('what', 'asset');
|
|
|
|
}
|
|
|
|
public function testDelete()
|
|
{
|
|
$this->markTestIncomplete();
|
|
}
|
|
|
|
public function testDestroy()
|
|
{
|
|
$this->markTestIncomplete();
|
|
}
|
|
|
|
public function testEdit()
|
|
{
|
|
$this->markTestIncomplete();
|
|
}
|
|
|
|
public function testIndex()
|
|
{
|
|
$this->markTestIncomplete();
|
|
}
|
|
|
|
public function testShow()
|
|
{
|
|
$this->markTestIncomplete();
|
|
}
|
|
|
|
public function testStore()
|
|
{
|
|
$this->markTestIncomplete();
|
|
}
|
|
|
|
public function testUpdate()
|
|
{
|
|
$this->markTestIncomplete();
|
|
}
|
|
|
|
}
|