Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 89e4014

Browse files
committed
Merge pull request zendframework#638 from ezimuel/fix/test-db-null-byte
Fixed the null byte test for Zend_Db_Adapter_Pdo
2 parents 1a12b91 + f6f4f7a commit 89e4014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Zend/Db/Adapter/Pdo/TestCommon.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,6 @@ public function testAdapterQuoteNullByteCharacter()
9898
{
9999
$string = "1\0";
100100
$value = $this->_db->quote($string);
101-
$this->assertEquals("'1\\000'", $value);
101+
$this->assertNotContains("\0", $value);
102102
}
103103
}

0 commit comments

Comments
 (0)