Fixed the test

This commit is contained in:
stanjg 2018-05-04 13:58:39 +02:00
parent 9ae25538c3
commit f5a15c4039
No known key found for this signature in database
GPG Key ID: 27D9DF9D28935303
2 changed files with 9193 additions and 1 deletions

9192
coverage.xml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -93,7 +93,7 @@ class AccountControllerTest extends ControllerTestCase
$user = $this->generateRequestUserModel();
$this->request->shouldReceive('input')->with('do_action')->andReturn('identity');
$this->request->shouldReceive('only')->with(['name_first', 'name_last', 'username'])->once()->andReturn([
$this->request->shouldReceive('only')->with(['name_first', 'name_last', 'username', 'language'])->once()->andReturn([
'test_data' => 'value',
]);