From 208f7c042b837418412d1c2f28238584336d907d Mon Sep 17 00:00:00 2001 From: Roman Bracinik Date: Sun, 9 Feb 2025 14:30:00 +0100 Subject: [PATCH] Fix err msg --- tests/StorageBackendTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/StorageBackendTest.php b/tests/StorageBackendTest.php index b7677cd..0f98e23 100644 --- a/tests/StorageBackendTest.php +++ b/tests/StorageBackendTest.php @@ -187,7 +187,7 @@ public function testUpdateStorageBackendWithWrongPassword(array $options) $this->client->updateStorageBackend($backend['id'], $wrongOptions); $this->fail('Should fail!'); } catch (ClientException $e) { - $this->assertSame('Failed to connect using the supplied credentials', $e->getMessage()); + $this->assertContains('Supplied credentials cannot use the supplied warehouse', $e->getMessage()); } }