diff --git a/core/modules/simpletest/src/KernelTestBase.php b/core/modules/simpletest/src/KernelTestBase.php
index abc1f20..05ba509 100644
--- a/core/modules/simpletest/src/KernelTestBase.php
+++ b/core/modules/simpletest/src/KernelTestBase.php
@@ -447,16 +447,7 @@ protected function installEntitySchema($entity_type_id) {
       $db_schema = $this->container->get('database')->schema();
       $all_tables_exist = TRUE;
       foreach ($tables as $table) {
-        if (!$db_schema->tableExists($table)) {
-          $this->fail(String::format('Installed entity type table for the %entity_type entity type: %table', array(
-            '%entity_type' => $entity_type_id,
-            '%table' => $table,
-          )));
-          $all_tables_exist = FALSE;
-        }
-      }
-      if ($all_tables_exist) {
-        $this->pass(String::format('Installed entity type tables for the %entity_type entity type: %tables', array(
+          $this->fail(String::format('Installed entity type tables for the %entity_type entity type: %tables', array(
           '%entity_type' => $entity_type_id,
           '%tables' => '{' . implode('}, {', $tables) . '}',
         )));
diff --git a/core/modules/simpletest/src/WebTestBase.php b/core/modules/simpletest/src/WebTestBase.php
index 7088456..4938d87 100644
--- a/core/modules/simpletest/src/WebTestBase.php
+++ b/core/modules/simpletest/src/WebTestBase.php
@@ -612,24 +612,9 @@ protected function drupalCreateRole(array $permissions, $rid = NULL, $name = NUL
       '@rid' => var_export($role->id(), TRUE),
     )), 'Role');
 
-    if ($result === SAVED_NEW) {
-      // Grant the specified permissions to the role, if any.
-      if (!empty($permissions)) {
-        user_role_grant_permissions($role->id(), $permissions);
         $assigned_permissions = Role::load($role->id())->getPermissions();
         $missing_permissions = array_diff($permissions, $assigned_permissions);
-        if (!$missing_permissions) {
-          $this->pass(String::format('Created permissions: @perms', array('@perms' => implode(', ', $permissions))), 'Role');
-        }
-        else {
           $this->fail(String::format('Failed to create permissions: @perms', array('@perms' => implode(', ', $missing_permissions))), 'Role');
-        }
-      }
-      return $role->id();
-    }
-    else {
-      return FALSE;
-    }
   }
 
   /**
@@ -645,10 +630,8 @@ protected function checkPermissions(array $permissions) {
     $available = array_keys(\Drupal::service('user.permissions')->getPermissions());
     $valid = TRUE;
     foreach ($permissions as $permission) {
-      if (!in_array($permission, $available)) {
         $this->fail(String::format('Invalid permission %permission.', array('%permission' => $permission)), 'Role');
         $valid = FALSE;
-      }
     }
     return $valid;
   }
