diff --git a/core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php b/core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php
index 61f47205b2..4e617945a3 100644
--- a/core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php
@@ -694,7 +694,7 @@ public function testSchemaAddFieldDefaultInitial() {
       ],
     ];
     $this->schema->createTable($table_name, $table_spec);
-    $this->pass("Table $table_name created.");
+    $this->assertTrue($this->schema->tableExists($table_name), "Table $table_name created.");
     $this->assertTrue($this->tryInsert($table_name), 'Insert with binary default succeeded.');
 
     // TODO: convert to use changeField()?
