mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-19 10:53:31 +00:00
Some new tests
This commit is contained in:
@@ -16,13 +16,23 @@ class HelpControllerTest extends TestCase
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Http\Controllers\HelpController::show
|
||||
* @todo Implement testShow().
|
||||
*/
|
||||
public function testShow()
|
||||
{
|
||||
// Remove the following lines when you implement this test.
|
||||
$this->markTestIncomplete(
|
||||
'This test has not been implemented yet.'
|
||||
);
|
||||
$this->be($this->user());
|
||||
$response = $this->call('GET', '/help/index');
|
||||
|
||||
$this->assertEquals(200, $response->status());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers FireflyIII\Http\Controllers\HelpController::show
|
||||
*/
|
||||
public function testShowNoRoute()
|
||||
{
|
||||
$this->be($this->user());
|
||||
$response = $this->call('GET', '/help/indxxex');
|
||||
|
||||
$this->assertEquals(200, $response->status());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user