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']); } }