Skip to content

Commit

Permalink
Fix test case.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Dec 2, 2017
1 parent 0108679 commit 723d08e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/TestCase/Database/TypeTest.php
Expand Up @@ -177,9 +177,11 @@ public function testClear()

$this->assertEmpty(Type::map());
Type::map($map);
$this->assertEquals($map, Type::map());
$newMap = Type::map();

$this->assertNotSame($type, Type::build('float'));
$this->assertEquals(array_keys($map), array_keys($newMap));
$this->assertEquals($map['integer'], $newMap['integer']);
$this->assertSame($type, Type::build('float'));
}

/**
Expand Down

0 comments on commit 723d08e

Please sign in to comment.