Skip to content

Instantly share code, notes, and snippets.

@vijaycs85
Created March 8, 2015 22:37
Show Gist options
  • Save vijaycs85/15854319968724768a37 to your computer and use it in GitHub Desktop.
Save vijaycs85/15854319968724768a37 to your computer and use it in GitHub Desktop.
diff --git a/core/modules/config/src/Tests/ConfigSchemaTest.php b/core/modules/config/src/Tests/ConfigSchemaTest.php
index d963d45..37adff0 100644
--- a/core/modules/config/src/Tests/ConfigSchemaTest.php
+++ b/core/modules/config/src/Tests/ConfigSchemaTest.php
@@ -343,6 +343,7 @@ public function testConfigSaveWithSchema() {
'float' => '3.14',
'null_float' => '',
'sequence' => array (1, 0, 1),
+ 'sequence_bc' => array(1, 0, 1),
// Not in schema and therefore should be left untouched.
'not_present_in_schema' => TRUE,
// Test a custom type.
@@ -365,6 +366,7 @@ public function testConfigSaveWithSchema() {
'float' => 3.14,
'null_float' => NULL,
'sequence' => array (TRUE, FALSE, TRUE),
+ 'sequence_bc' => array(TRUE, FALSE, TRUE),
'not_present_in_schema' => TRUE,
'config_schema_test_integer' => 1,
'config_schema_test_integer_empty_string' => NULL,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment