Quoting test for null value and string column

This commit is contained in:
ovidiupruteanu 2013-09-09 17:14:09 +03:00
parent b58940e9b5
commit 7019c79b81

View file

@ -311,6 +311,10 @@ class SqlserverTest extends CakeTestCase {
$expected = "''";
$result = $this->db->value('', 'binary');
$this->assertSame($expected, $result);
$expected = 'NULL';
$result = $this->db->value(null, 'string');
$this->assertSame($expected, $result);
}
/**