Change NodeProviderInterface::getNode() to return Hexadecimal

This commit is contained in:
Ben Ramsey
2020-02-29 22:35:45 -06:00
parent 4ffd156a84
commit 86c37eff4c
13 changed files with 196 additions and 135 deletions
+1 -1
View File
@@ -526,7 +526,7 @@ class ExpectedBehaviorTest extends TestCase
public function testUsingDefaultTimeGeneratorWithCustomProviders()
{
$nodeProvider = \Mockery::mock('Ramsey\Uuid\Provider\NodeProviderInterface', [
'getNode' => '0123456789ab',
'getNode' => new Hexadecimal('0123456789ab'),
]);
$timeConverter = \Mockery::mock('Ramsey\Uuid\Converter\TimeConverterInterface');