Use assertSame instead of assertEquals.

This commit is contained in:
Bilge
2020-08-23 13:53:19 +01:00
parent cd4032040a
commit 7947413a76
15 changed files with 148 additions and 148 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ class RandomBytesGeneratorTest extends TestCase
$bytes = hex2bin($hex);
AspectMock::func('Ramsey\Uuid\Generator', 'random_bytes', $bytes);
$generator = new RandomBytesGenerator();
$this->assertEquals($bytes, $generator->generate($length));
$this->assertSame($bytes, $generator->generate($length));
}
/**