diff --git a/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php b/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php
index 4d859af040ebb5296283704aed1ff08587f43556..7e2af7ff723e638d6767cd1afa2361a746550c20 100644
--- a/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityQueryTest.php
@@ -644,7 +644,7 @@ public function testDotted() {
     $this->queryResults = $this->entityStorage->getQuery()
       ->notExists('does.not.exist')
       ->execute();
-    $this->assertResults($all);
+    $this->assertResults(['1', '2', '3', '4', '5', '6', '7']);
   }
 
   /**