Browse Source

Use assertSame instead

jadb 10 years ago
parent
commit
ab6297576b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestCase/Database/TypeTest.php

+ 2 - 2
tests/TestCase/Database/TypeTest.php

@@ -142,8 +142,8 @@ class TypeTest extends TestCase
         $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'));
     }
 
     /**