mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 15:39:50 +00:00
Also covered ProfileController.
This commit is contained in:
@@ -17,6 +17,7 @@ class UserControllerTest extends TestCase
|
||||
$this->call('GET', '/login');
|
||||
|
||||
// test
|
||||
$this->assertResponseOk();
|
||||
}
|
||||
|
||||
public function testPostLogin()
|
||||
@@ -94,14 +95,7 @@ class UserControllerTest extends TestCase
|
||||
|
||||
}
|
||||
|
||||
public function mock($class)
|
||||
{
|
||||
$mock = Mockery::mock($class);
|
||||
|
||||
$this->app->instance($class, $mock);
|
||||
|
||||
return $mock;
|
||||
}
|
||||
|
||||
/**
|
||||
* Register and verify FAILED:
|
||||
|
||||
Reference in New Issue
Block a user