Remove test that fails because of qualified function call

This commit is contained in:
Ben Ramsey
2019-11-28 14:42:23 -08:00
parent 2824db17c8
commit 1b608e7e01
@@ -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);
}
}