First account controller tests

This commit is contained in:
James Cole
2016-11-20 08:46:02 +01:00
parent 45e7a4576a
commit 685310a368
3 changed files with 50 additions and 41 deletions

View File

@@ -103,9 +103,8 @@ abstract class TestCase extends Illuminate\Foundation\Testing\TestCase
*/
protected function mock($class)
{
Log::debug(sprintf('Will now mock %s', $class));
$object = Mockery::mock($class);
$this->app->instance($class, $object);
return $object;