diff --git a/tests/TestCase/Database/TypeTest.php b/tests/TestCase/Database/TypeTest.php index 2567a636364..d7f69affa4f 100644 --- a/tests/TestCase/Database/TypeTest.php +++ b/tests/TestCase/Database/TypeTest.php @@ -142,8 +142,8 @@ public function testMapAndBuild() $fooType = new FooType(); Type::map('foo2', $fooType); $map = Type::map(); - $this->assertEquals($fooType, $map['foo2']); - $this->assertEquals($fooType, Type::map('foo2')); + $this->assertSame($fooType, $map['foo2']); + $this->assertSame($fooType, Type::map('foo2')); } /**