Fix broken tests due to grapping around...
This commit is contained in:
parent
cdfbc60030
commit
47eec0398d
8 changed files with 11 additions and 11 deletions
|
@ -81,7 +81,7 @@ class KeyServiceTest extends TestCase
|
|||
*/
|
||||
public function test_create_function()
|
||||
{
|
||||
$this->getFunctionMock('\\Pterodactyl\\Service\\Api', 'random_bytes')
|
||||
$this->getFunctionMock('\\Pterodactyl\\Services\\Api', 'random_bytes')
|
||||
->expects($this->exactly(2))
|
||||
->willReturnCallback(function ($bytes) {
|
||||
return hex2bin(str_pad('', $bytes * 2, '0'));
|
||||
|
|
Reference in a new issue