mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Remove test that fails because of qualified function call
This commit is contained in:
@@ -44,17 +44,4 @@ class SodiumRandomGeneratorTest extends TestCase
|
||||
$uuid->getFactory()->getRandomGenerator()
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
* @preserveGlobalState disabled
|
||||
*/
|
||||
public function testGenerateUsesSodiumLibrary()
|
||||
{
|
||||
$randomBytesFunc = $this->getFunctionMock('Sodium', 'randombytes_buf');
|
||||
$randomBytesFunc->expects($this->once())
|
||||
->with(10);
|
||||
$generator = new SodiumRandomGenerator();
|
||||
$generator->generate(10);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user