mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
Use assertSame instead of assertEquals.
This commit is contained in:
@@ -28,7 +28,7 @@ class PeclUuidRandomGeneratorTest extends PeclUuidTestCase
|
||||
$generator = new PeclUuidRandomGenerator();
|
||||
$uuid = $generator->generate($this->length);
|
||||
|
||||
$this->assertEquals($this->uuidBinary, $uuid);
|
||||
$this->assertSame($this->uuidBinary, $uuid);
|
||||
$create->verifyInvoked([UUID_TYPE_RANDOM]);
|
||||
$parse->verifyInvoked([$this->uuidString]);
|
||||
}
|
||||
@@ -44,7 +44,7 @@ class PeclUuidRandomGeneratorTest extends PeclUuidTestCase
|
||||
$generator = new PeclUuidRandomGenerator();
|
||||
$uuid = $generator->generate($this->length);
|
||||
|
||||
$this->assertEquals($this->uuidBinary, $uuid);
|
||||
$this->assertSame($this->uuidBinary, $uuid);
|
||||
$create->verifyInvoked([UUID_TYPE_RANDOM]);
|
||||
$parse->verifyInvoked([$this->uuidString]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user