From 1b608e7e010315c6ce2c07734d78dcf19cebe0db Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Thu, 28 Nov 2019 14:42:23 -0800 Subject: [PATCH] Remove test that fails because of qualified function call --- tests/Generator/SodiumRandomGeneratorTest.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/Generator/SodiumRandomGeneratorTest.php b/tests/Generator/SodiumRandomGeneratorTest.php index d118fd3..1981bce 100644 --- a/tests/Generator/SodiumRandomGeneratorTest.php +++ b/tests/Generator/SodiumRandomGeneratorTest.php @@ -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); - } }