From 06324a6e604ad292c835d8af6769dbafffce113b Mon Sep 17 00:00:00 2001 From: Mathieu De Keyzer Date: Fri, 23 Aug 2024 20:59:39 +0200 Subject: [PATCH] test: dont save config or cache in multiple storages --- EMS/common-bundle/tests/Unit/Storage/StorageManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EMS/common-bundle/tests/Unit/Storage/StorageManagerTest.php b/EMS/common-bundle/tests/Unit/Storage/StorageManagerTest.php index 60bec32b0..43daa157a 100644 --- a/EMS/common-bundle/tests/Unit/Storage/StorageManagerTest.php +++ b/EMS/common-bundle/tests/Unit/Storage/StorageManagerTest.php @@ -114,7 +114,7 @@ public function testSaveConfig(): void $configHash = $this->storageManager->saveConfig($data); $this->assertEquals(\sha1(\json_encode($data)), $configHash); - $this->assertEquals(2, \count($this->storageManager->headIn($configHash))); + $this->assertEquals(1, \count($this->storageManager->headIn($configHash))); $this->assertEquals(3, $this->storageManager->remove($configHash)); }