forked from Alex/Pterodactyl-Panel
Fixed the test
This commit is contained in:
parent
9ae25538c3
commit
f5a15c4039
9192
coverage.xml
Normal file
9192
coverage.xml
Normal file
File diff suppressed because it is too large
Load Diff
@ -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',
|
||||
]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user