Test double single quotes in default values

parent b841ba7c
...@@ -1400,7 +1400,7 @@ class SchemaManagerFunctionalTestCase extends \Doctrine\Tests\DbalFunctionalTest ...@@ -1400,7 +1400,7 @@ class SchemaManagerFunctionalTestCase extends \Doctrine\Tests\DbalFunctionalTest
public function testEscapedDefaultValueMustBePreserved() public function testEscapedDefaultValueMustBePreserved()
{ {
$value = "a\\0b\\'c\"d\te\\Zf\\\\g"; $value = "a\\0b\\'c\"d\te\\Zf\\\\g''h";
$table = new Table('string_escaped_default_value'); $table = new Table('string_escaped_default_value');
$table->addColumn('def_string', 'string', array('default' => $value)); $table->addColumn('def_string', 'string', array('default' => $value));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment