mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-22 03:56:42 +00:00
21 lines
353 B
PHP
21 lines
353 B
PHP
![]() |
<?php
|
||
|
|
||
|
class MigrationControllerTest extends TestCase
|
||
|
{
|
||
|
public function setUp()
|
||
|
{
|
||
|
parent::setUp();
|
||
|
}
|
||
|
|
||
|
public function testIndex()
|
||
|
{
|
||
|
// mock:
|
||
|
View::shouldReceive('make')->with('migrate.index');
|
||
|
|
||
|
// call
|
||
|
$this->call('GET', '/migrate');
|
||
|
|
||
|
// test
|
||
|
$this->assertResponseOk();
|
||
|
}
|
||
|
}
|