Also covered ProfileController.

This commit is contained in:
James Cole
2014-07-03 09:16:17 +02:00
parent 516fe54bf0
commit 924ec29eaf
6 changed files with 184 additions and 24 deletions

View File

@@ -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: