mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-17 13:53:45 +02:00
Begin moving packs to new service mechanisms, refactor exceptions for services
This commit is contained in:
@@ -81,7 +81,7 @@ class KeyServiceTest extends TestCase
|
||||
*/
|
||||
public function test_create_function()
|
||||
{
|
||||
$this->getFunctionMock('\\Pterodactyl\\Services\\Api', 'random_bytes')
|
||||
$this->getFunctionMock('\\Pterodactyl\\Service\\Api', 'random_bytes')
|
||||
->expects($this->exactly(2))
|
||||
->willReturnCallback(function ($bytes) {
|
||||
return hex2bin(str_pad('', $bytes * 2, '0'));
|
||||
|
||||
Reference in New Issue
Block a user