Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / views / src / Tests / Update / BooleanFilterValuesUpdateTest.php
diff --git a/web/core/modules/views/src/Tests/Update/BooleanFilterValuesUpdateTest.php b/web/core/modules/views/src/Tests/Update/BooleanFilterValuesUpdateTest.php
deleted file mode 100644 (file)
index c06539f..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-<?php
-
-namespace Drupal\views\Tests\Update;
-
-use Drupal\system\Tests\Update\UpdatePathTestBase;
-use Drupal\views\Entity\View;
-
-/**
- * Tests the upgrade path for boolean field values.
- *
- * @see views_post_update_boolean_filter_values()
- *
- * @group Update
- */
-class BooleanFilterValuesUpdateTest extends UpdatePathTestBase {
-
-  /**
-   * {@inheritdoc}
-   */
-  protected function setDatabaseDumpFiles() {
-    $this->databaseDumpFiles = [
-      __DIR__ . '/../../../../system/tests/fixtures/update/drupal-8.bare.standard.php.gz',
-      __DIR__ . '/../../../tests/fixtures/update/boolean-filter-values.php',
-    ];
-  }
-
-  /**
-   * Tests that boolean filter values are updated properly.
-   */
-  public function testViewsPostUpdateBooleanFilterValues() {
-    $this->runUpdates();
-
-    // Load and initialize our test view.
-    $view = View::load('test_boolean_filter_values');
-    $data = $view->toArray();
-    // Check that the field is using the expected string value.
-    $this->assertIdentical('1', $data['display']['default']['display_options']['filters']['status']['value']);
-  }
-
-}