New tests

This commit is contained in:
James Cole
2016-12-10 07:29:36 +01:00
parent e7845115f6
commit 0fe0de1a7f
17 changed files with 141 additions and 282 deletions

View File

@@ -35,7 +35,6 @@ class ConfigurationControllerTest extends TestCase
/**
* @covers \FireflyIII\Http\Controllers\Admin\ConfigurationController::index
* Implement testIndex().
*/
public function testIndex()
{
@@ -60,7 +59,6 @@ class ConfigurationControllerTest extends TestCase
/**
* @covers \FireflyIII\Http\Controllers\Admin\ConfigurationController::store
* Implement testStore().
*/
public function testPostIndex()
{
@@ -74,12 +72,4 @@ class ConfigurationControllerTest extends TestCase
$this->assertSessionHas('success');
$this->assertResponseStatus(302);
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
}

View File

@@ -31,7 +31,6 @@ class DomainControllerTest extends TestCase
/**
* @covers \FireflyIII\Http\Controllers\Admin\DomainController::domains
* Implement testDomains().
*/
public function testDomains()
{
@@ -46,7 +45,6 @@ class DomainControllerTest extends TestCase
/**
* @covers \FireflyIII\Http\Controllers\Admin\DomainController::manual
* Implement testManual().
*/
public function testManual()
{
@@ -58,7 +56,6 @@ class DomainControllerTest extends TestCase
/**
* @covers \FireflyIII\Http\Controllers\Admin\DomainController::toggleDomain
* Implement testToggleDomain().
*/
public function testToggleDomain()
{
@@ -68,11 +65,4 @@ class DomainControllerTest extends TestCase
$this->assertResponseStatus(302);
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
}

View File

@@ -31,7 +31,6 @@ class HomeControllerTest extends TestCase
/**
* @covers \FireflyIII\Http\Controllers\Admin\HomeController::index
* Implement testIndex().
*/
public function testIndex()
{
@@ -42,11 +41,4 @@ class HomeControllerTest extends TestCase
$this->see('<ol class="breadcrumb">');
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
}

View File

@@ -31,7 +31,6 @@ class UserControllerTest extends TestCase
/**
* @covers \FireflyIII\Http\Controllers\Admin\UserController::edit
* Implement testEdit().
*/
public function testEdit()
{
@@ -44,7 +43,6 @@ class UserControllerTest extends TestCase
/**
* @covers \FireflyIII\Http\Controllers\Admin\UserController::index
* Implement testIndex().
*/
public function testIndex()
{
@@ -57,7 +55,6 @@ class UserControllerTest extends TestCase
/**
* @covers \FireflyIII\Http\Controllers\Admin\UserController::show
* Implement testShow().
*/
public function testShow()
{
@@ -68,11 +65,4 @@ class UserControllerTest extends TestCase
$this->see('<ol class="breadcrumb">');
}
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
}