Some new tests. Hope to have fixed the problem in hhvm.

This commit is contained in:
James Cole
2014-08-09 13:50:54 +02:00
parent f18a5fd0a3
commit b6441f3996
4 changed files with 32 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ class ProfileControllerTest extends TestCase
$this->_user->shouldReceive('getAttribute')->with('email')->andReturn('some@email');
$this->_user->shouldReceive('getAttribute')->with('password')->andReturn('Blablabla');
$this->action('POST', 'ProfileController@postChangePassword');
$this->action('POST', 'ProfileController@postChangePassword',['old' => '']);
$this->assertResponseOk();
}