diff --git a/core/modules/filter/src/Tests/FilterFormTest.php b/core/modules/filter/src/Tests/FilterFormTest.php
index 142bee4..9c9f39d 100644
--- a/core/modules/filter/src/Tests/FilterFormTest.php
+++ b/core/modules/filter/src/Tests/FilterFormTest.php
@@ -180,13 +180,14 @@ protected function doFilterFormTestAsNonAdmin() {
    *
    * @param string $id
    *   The HTML ID of the select element.
+   * @return
+   *   TRUE on pass, FALSE on fail.
    */
   protected function assertNoSelect($id) {
     $select = $this->xpath('//select[@id=:id]', array(':id' => $id));
-    $this->assertFalse($select, String::format('Field @id does not exist.', array(
+    return $this->assertFalse($select, String::format('Field @id does not exist.', array(
       '@id' => $id,
     )));
-    return $select;
   }
 
   /**
