Files
firefly-iii/tests/acceptance/Controllers/Admin/ConfigurationControllerTest.php

52 lines
1.2 KiB
PHP
Raw Normal View History

2016-11-19 20:30:30 +01:00
<?php
namespace Admin;
2016-11-20 11:43:19 +01:00
2016-11-19 20:30:30 +01:00
use TestCase;
/**
2016-11-20 08:30:25 +01:00
* Generated by PHPUnit_SkeletonGenerator on 2016-11-20 at 07:15:07.
2016-11-19 20:30:30 +01:00
*/
class ConfigurationControllerTest extends TestCase
{
2016-11-20 07:24:18 +01:00
2016-11-19 20:30:30 +01:00
/**
* Sets up the fixture, for example, opens a network connection.
* This method is called before a test is executed.
*/
public function setUp()
{
2016-11-20 08:30:25 +01:00
parent::setUp();
2016-11-19 20:30:30 +01:00
}
/**
2016-11-20 08:30:25 +01:00
* @covers \FireflyIII\Http\Controllers\Admin\ConfigurationController::index
2016-11-19 20:30:30 +01:00
*/
public function testIndex()
{
2016-11-20 08:30:25 +01:00
$this->be($this->user());
$this->call('GET', route('admin.configuration.index'));
$this->assertResponseStatus(200);
2016-11-19 20:30:30 +01:00
}
/**
2016-11-20 08:30:25 +01:00
* @covers \FireflyIII\Http\Controllers\Admin\ConfigurationController::store
2016-11-19 20:30:30 +01:00
* @todo Implement testStore().
*/
public function testStore()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete(
'This test has not been implemented yet.'
);
}
2016-11-20 11:43:19 +01:00
/**
* Tears down the fixture, for example, closes a network connection.
* This method is called after a test is executed.
*/
protected function tearDown()
{
}
2016-11-19 20:30:30 +01:00
}