Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / tests / Drupal / KernelTests / Core / Config / Storage / ConfigStorageTestBase.php
index 5bdbc74deba86bf301023923b8451ea76d594bab..238dacfb5c25e4878a6c62c0ca3aab4c15d72047 100644 (file)
@@ -151,6 +151,11 @@ abstract class ConfigStorageTestBase extends KernelTestBase {
     // Listing on a non-existing storage bin returns an empty array.
     $result = $this->invalidStorage->listAll();
     $this->assertIdentical($result, []);
+
+    // Getting all collections on a non-existing storage bin return an empty
+    // array.
+    $this->assertSame([], $this->invalidStorage->getAllCollectionNames());
+
     // Writing to a non-existing storage bin creates the bin.
     $this->invalidStorage->write($name, ['foo' => 'bar']);
     $result = $this->invalidStorage->read($name);