Use assertSame

This commit is contained in:
Gabriel Caruso
2017-12-10 05:51:10 -02:00
parent 21063bd716
commit f65471fb5c
@@ -31,7 +31,7 @@ class SystemNodeProviderTest extends TestCase
$this->assertTrue(ctype_xdigit($node), 'Node should be a hexadecimal string. Actual node: ' . $node);
$length = strlen($node);
$lengthError = 'Node should be 12 characters. Actual length: ' . $length . PHP_EOL . ' Actual node: ' . $node;
$this->assertTrue(($length === 12), $lengthError);
$this->assertSame(12, $length, $lengthError);
}