mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 03:53:37 +00:00
Bunch of new tests.
This commit is contained in:
27
app/tests/controllers/ReportControllerTest.php
Normal file
27
app/tests/controllers/ReportControllerTest.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
use Mockery as m;
|
||||
|
||||
/**
|
||||
* Class ReportControllerTest
|
||||
*/
|
||||
class ReportControllerTest extends TestCase
|
||||
{
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
{
|
||||
m::close();
|
||||
}
|
||||
|
||||
public function testIndex()
|
||||
{
|
||||
$this->action('GET', 'ReportController@index');
|
||||
$this->assertResponseOk();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user