Compartmentalised all tests.

This commit is contained in:
James Cole
2015-05-23 19:41:54 +02:00
parent 422f429725
commit 1ec11e3e2e
27 changed files with 496 additions and 20 deletions

View File

@@ -37,6 +37,9 @@ class PreferencesControllerTest extends TestCase
}
/**
* @covers FireflyIII\Http\Controllers\PreferencesController::index
*/
public function testIndex()
{
$user = FactoryMuffin::create('FireflyIII\User');
@@ -69,6 +72,9 @@ class PreferencesControllerTest extends TestCase
$this->assertResponseOk();
}
/**
* @covers FireflyIII\Http\Controllers\PreferencesController::postIndex
*/
public function testPostIndex()
{
$user = FactoryMuffin::create('FireflyIII\User');