From 1c57be3adfddc3a145625b9de71e4f0dfd0a173d Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Tue, 14 Jul 2020 18:11:48 +0100 Subject: [PATCH] Issue #3157369 by shaktik, Lendude, alexpott: Use unused variable $filters from DateTimeSchemaTest (cherry picked from commit 1476de31ad80a2c4ed256322ab2d012a4d02605f) --- .../datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php b/core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php index f763c49a51..9bf8e0ee93 100644 --- a/core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php +++ b/core/modules/datetime/tests/src/Kernel/Views/DateTimeSchemaTest.php @@ -37,7 +37,8 @@ public function testDateTimeSchema() { $view = Views::getView('test_filter_datetime'); $view->initHandlers(); $filters = $view->displayHandlers->get('default')->getOption('filters'); - $filters['field_date_value']['type'] = 'Date'; + $filters['field_date_value']['type'] = 'date'; + $view->displayHandlers->get('default')->overrideOption('filters', $filters); $view->save(); $this->assertConfigSchemaByName('views.view.test_filter_datetime'); -- GitLab