mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Quoting test for null value and string column
This commit is contained in:
parent
b58940e9b5
commit
7019c79b81
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue