Skip to content

Commit

Permalink
Removed duplicate array key
Browse files Browse the repository at this point in the history
  • Loading branch information
sohelrana820 committed Aug 14, 2018
1 parent 301cb31 commit ac3d6bd
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Database/Type/DecimalTypeTest.php
Expand Up @@ -100,13 +100,13 @@ public function testManyToPHP()
'a' => null,
'b' => '2.3',
'c' => '15',
'c' => '0.0',
'd' => '0.0',
];
$expected = [
'a' => null,
'b' => 2.3,
'c' => 15,
'c' => 0.0,
'd' => 0.0,
];
$this->assertEquals(
$expected,
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase/Database/Type/FloatTypeTest.php
Expand Up @@ -100,13 +100,13 @@ public function testManyToPHP()
'a' => null,
'b' => '2.3',
'c' => '15',
'c' => '0.0',
'd' => '0.0',
];
$expected = [
'a' => null,
'b' => 2.3,
'c' => 15,
'c' => 0.0,
'd' => 0.0,
];
$this->assertEquals(
$expected,
Expand Down
8 changes: 4 additions & 4 deletions tests/TestCase/Database/Type/IntegerTypeTest.php
Expand Up @@ -78,15 +78,15 @@ public function testManyToPHP()
'a' => null,
'b' => '2.3',
'c' => '15',
'c' => '0.0',
'd' => 10
'd' => '0.0',
'e' => 10
];
$expected = [
'a' => null,
'b' => 2,
'c' => 15,
'c' => 0,
'd' => 10
'd' => 0,
'e' => 10
];
$this->assertEquals(
$expected,
Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase/Database/Type/JsonTypeTest.php
Expand Up @@ -68,13 +68,13 @@ public function testManyToPHP()
'a' => null,
'b' => json_encode([1, 2, 3]),
'c' => json_encode('123'),
'c' => json_encode(2.3),
'd' => json_encode(2.3),
];
$expected = [
'a' => null,
'b' => [1, 2, 3],
'c' => 123,
'c' => 2.3,
'd' => 2.3,
];
$this->assertEquals(
$expected,
Expand Down

0 comments on commit ac3d6bd

Please sign in to comment.