mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-09 14:18:59 +00:00
Some new tests. Hope to have fixed the problem in hhvm.
This commit is contained in:
27
app/tests/controllers/SearchControllerTest.php
Normal file
27
app/tests/controllers/SearchControllerTest.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
use Mockery as m;
|
||||
|
||||
/**
|
||||
* Class SearchControllerTest
|
||||
*/
|
||||
class SearchControllerTest extends TestCase
|
||||
{
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
}
|
||||
|
||||
public function tearDown()
|
||||
{
|
||||
m::close();
|
||||
}
|
||||
|
||||
public function testIndex()
|
||||
{
|
||||
$this->action('GET', 'SearchController@index');
|
||||
$this->assertResponseOk();
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user