Skip to content

Commit 878955d

Browse files
authored
Fix SecureByterGeneratorSpec test to random_bytes
1 parent f725dea commit 878955d

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

spec/Vivait/StringGeneratorBundle/Generator/SecureBytesGeneratorSpec.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
use PhpSpec\ObjectBehavior;
66
use Prophecy\Argument;
7-
use Symfony\Component\Security\Core\Util\SecureRandom;
87

98
class SecureBytesGeneratorSpec extends ObjectBehavior
109
{
@@ -13,12 +12,6 @@ function it_is_initializable()
1312
$this->shouldHaveType('Vivait\StringGeneratorBundle\Generator\SecureBytesGenerator');
1413
}
1514

16-
function let()
17-
{
18-
$secureRandom = new SecureRandom();
19-
$this->beConstructedWith($secureRandom);
20-
}
21-
2215
function it_generates_random_string()
2316
{
2417
$this->setLength(10);

0 commit comments

Comments
 (0)