mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Use assertSame instead of assertEquals.
This commit is contained in:
@@ -106,7 +106,7 @@ class GuidStringCodecTest extends TestCase
|
||||
|
||||
$codec = new GuidStringCodec($this->builder);
|
||||
$result = $codec->decode($string);
|
||||
$this->assertEquals($this->uuid, $result);
|
||||
$this->assertSame($this->uuid, $result);
|
||||
}
|
||||
|
||||
public function testDecodeBytesReturnsUuid(): void
|
||||
@@ -117,6 +117,6 @@ class GuidStringCodecTest extends TestCase
|
||||
$this->builder->method('build')
|
||||
->willReturn($this->uuid);
|
||||
$result = $codec->decodeBytes($bytes);
|
||||
$this->assertEquals($this->uuid, $result);
|
||||
$this->assertSame($this->uuid, $result);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user