From 366c1fc214d3fd350162cdc029d2e8bbee1eec48 Mon Sep 17 00:00:00 2001 From: Cyril Mazur Date: Sun, 11 Feb 2018 19:57:26 +0800 Subject: [PATCH] Use assertSame --- tests/Log/LogManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Log/LogManagerTest.php b/tests/Log/LogManagerTest.php index 5f313c7f1b2c..3c788d92d22b 100755 --- a/tests/Log/LogManagerTest.php +++ b/tests/Log/LogManagerTest.php @@ -14,6 +14,6 @@ public function testLogManagerCachesLoggerInstances() $logger1 = $manager->channel('single')->getLogger(); $logger2 = $manager->channel('single')->getLogger(); - $this->assertEquals(spl_object_id($logger1), spl_object_id($logger2)); + $this->assertSame($logger1, $logger2); } }