summaryrefslogtreecommitdiff
path: root/tests/unit/Data/SqlMap/ParameterMapTest.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2016-03-29 09:24:08 +0200
committerFabio Bas <ctrlaltca@gmail.com>2016-03-29 09:24:08 +0200
commit70e305a918fcf193009831d4e89aa8c386df3dc4 (patch)
tree8cc49f253f29636ddd623aa2c2b98835300604f0 /tests/unit/Data/SqlMap/ParameterMapTest.php
parent55df8dac44f54a305e8bd7e50ef63f76725d2333 (diff)
Ported / fixed most old tests
Diffstat (limited to 'tests/unit/Data/SqlMap/ParameterMapTest.php')
-rw-r--r--tests/unit/Data/SqlMap/ParameterMapTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/unit/Data/SqlMap/ParameterMapTest.php b/tests/unit/Data/SqlMap/ParameterMapTest.php
index de5c235c..f564e9fc 100644
--- a/tests/unit/Data/SqlMap/ParameterMapTest.php
+++ b/tests/unit/Data/SqlMap/ParameterMapTest.php
@@ -91,7 +91,7 @@ class ParameterMapTest extends BaseCase
$orderTest = $this->sqlmap->queryForObject("GetOrderLiteByColumnName", 99);
- $this->assertIdentical($order->getCity(), $orderTest->getCity());
+ $this->assertSame($order->getCity(), $orderTest->getCity());
}
/// Test null replacement in ParameterMap/Hahstable property
@@ -118,7 +118,7 @@ class ParameterMapTest extends BaseCase
$orderTest = $this->sqlmap->queryForObject("GetOrderByHashTable", 99);
- $this->assertIdentical($orderTest["Date"], '0001-01-01 00:00:00');
+ $this->assertSame($orderTest["Date"], '0001-01-01 00:00:00');
}
/// Test null replacement in ParameterMap property
@@ -135,8 +135,8 @@ class ParameterMapTest extends BaseCase
$categoryRead = $this->sqlmap->queryForObject("GetCategory", $key);
- $this->assertIdentical($category->getName(), $categoryRead->getName());
- $this->assertIdentical('', $categoryRead->getGuidString());
+ $this->assertSame($category->getName(), $categoryRead->getName());
+ $this->assertSame('', $categoryRead->getGuidString());
}
}
@@ -212,7 +212,7 @@ class ParameterMapTest extends BaseCase
$this->assertNotNull($item->getId());
// $this->assertNotNull($item->getPicture());
-// $this->assertIdentical( GetSize(item.Picture), this.GetSize( this.GetPicture() ));
+// $this->assertSame( GetSize(item.Picture), this.GetSize( this.GetPicture() ));
}
*/
@@ -241,7 +241,7 @@ class ParameterMapTest extends BaseCase
$orderTest = $this->sqlmap->queryForObject("GetOrderLiteByColumnName", 99);
- $this->assertIdentical($order->getCity(), $orderTest->getCity());
+ $this->assertSame($order->getCity(), $orderTest->getCity());
}
/**/
}