diff --git a/core/modules/views/src/Tests/Handler/HandlerAllTest.php b/core/modules/views/src/Tests/Handler/HandlerAllTest.php
index 89339c9..018ec2b 100644
--- a/core/modules/views/src/Tests/Handler/HandlerAllTest.php
+++ b/core/modules/views/src/Tests/Handler/HandlerAllTest.php
@@ -79,9 +79,13 @@ public function testHandlers() {
               $options = array();
               if ($type == 'filter') {
                 $handler = $this->container->get("plugin.manager.views.$type")->getHandler($item);
+                // Set the value to use for the filter based on the filter type.
                 if ($handler instanceof InOperator) {
                   $options['value'] = array(1);
                 }
+                else {
+                  $options['value'] = 1;
+                }
               }
               $view->addHandler('default', $type, $base_table, $field, $options);
             }
