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:
@@ -83,7 +83,7 @@ class OrderedTimeCodecTest extends TestCase
|
||||
->willReturn($this->fields);
|
||||
$codec = new OrderedTimeCodec($this->builder);
|
||||
$result = $codec->encode($this->uuid);
|
||||
$this->assertEquals($this->uuidString, $result);
|
||||
$this->assertSame($this->uuidString, $result);
|
||||
}
|
||||
|
||||
public function testEncodeBinary(): void
|
||||
@@ -121,7 +121,7 @@ class OrderedTimeCodecTest extends TestCase
|
||||
->willReturn($this->uuid);
|
||||
$codec = new OrderedTimeCodec($this->builder);
|
||||
$result = $codec->decode($string);
|
||||
$this->assertEquals($this->uuid, $result);
|
||||
$this->assertSame($this->uuid, $result);
|
||||
}
|
||||
|
||||
public function testDecodeBytesRearrangesFields(): void
|
||||
|
||||
Reference in New Issue
Block a user