Version 1
[yaffs-website] / web / core / modules / views / tests / fixtures / update / boolean-filter-values.php
diff --git a/web/core/modules/views/tests/fixtures/update/boolean-filter-values.php b/web/core/modules/views/tests/fixtures/update/boolean-filter-values.php
new file mode 100644 (file)
index 0000000..2b8e78f
--- /dev/null
@@ -0,0 +1,19 @@
+<?php
+
+/**
+ * @file
+ * Test fixture.
+ */
+
+use Drupal\Core\Database\Database;
+use Drupal\Core\Serialization\Yaml;
+
+$connection = Database::getConnection();
+
+$connection->insert('config')
+  ->fields([
+    'collection' => '',
+    'name' => 'views.view.test_boolean_filter_values',
+    'data' => serialize(Yaml::decode(file_get_contents('core/modules/views/tests/fixtures/update/views.view.test_boolean_filter_values.yml'))),
+  ])
+  ->execute();