diff --git a/core/modules/simpletest/src/TestBase.php b/core/modules/simpletest/src/TestBase.php
index b4901af..67fa1f4 100644
--- a/core/modules/simpletest/src/TestBase.php
+++ b/core/modules/simpletest/src/TestBase.php
@@ -787,27 +787,6 @@ protected function assertNoErrorsLogged() {
    *   TRUE.
    */
   protected function pass($message = NULL, $group = 'Other') {
-    return $this->assert(TRUE, $message, $group);
-  }
-
-  /**
-   * Fire an assertion that is always negative.
-   *
-   * @param $message
-   *   (optional) A message to display with the assertion. Do not translate
-   *   messages: use \Drupal\Component\Utility\String::format() to embed
-   *   variables in the message text, not t(). If left blank, a default message
-   *   will be displayed.
-   * @param $group
-   *   (optional) The group this message is in, which is displayed in a column
-   *   in test output. Use 'Debug' to indicate this is debugging output. Do not
-   *   translate this string. Defaults to 'Other'; most tests do not override
-   *   this default.
-   *
-   * @return
-   *   FALSE.
-   */
-  protected function fail($message = NULL, $group = 'Other') {
     return $this->assert(FALSE, $message, $group);
   }
 
diff --git a/core/vendor/phpunit/phpunit/src/Framework/Constraint.php b/core/vendor/phpunit/phpunit/src/Framework/Constraint.php
index 63d3b08..f683bf0 100644
--- a/core/vendor/phpunit/phpunit/src/Framework/Constraint.php
+++ b/core/vendor/phpunit/phpunit/src/Framework/Constraint.php
@@ -51,10 +51,6 @@ public function evaluate($other, $description = '', $returnResult = false)
     {
         $success = false;
 
-        if ($this->matches($other)) {
-            $success = true;
-        }
-
         if ($returnResult) {
             return $success;
         }
