Fixed the test
This commit is contained in:
parent
9ae25538c3
commit
f5a15c4039
File diff suppressed because it is too large
Load Diff
|
@ -93,7 +93,7 @@ class AccountControllerTest extends ControllerTestCase
|
||||||
$user = $this->generateRequestUserModel();
|
$user = $this->generateRequestUserModel();
|
||||||
|
|
||||||
$this->request->shouldReceive('input')->with('do_action')->andReturn('identity');
|
$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',
|
'test_data' => 'value',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue