Fix broken tests due to grapping around...

This commit is contained in:
Dane Everitt 2017-08-20 19:51:15 -05:00
parent cdfbc60030
commit 47eec0398d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 11 additions and 11 deletions

View file

@ -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'));