From 3e72e8015bb72a2fd3918b5b1b9ae589739f1093 Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Fri, 17 Jan 2020 21:02:18 +0100 Subject: [PATCH] Improve impossible exception-handler for storage move --- tests/src/Core/StorageManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/Core/StorageManagerTest.php b/tests/src/Core/StorageManagerTest.php index fd72eb7fb2..084caa68ab 100644 --- a/tests/src/Core/StorageManagerTest.php +++ b/tests/src/Core/StorageManagerTest.php @@ -270,7 +270,7 @@ class StorageManagerTest extends DatabaseTest * Test moving data to a WRONG storage * * @expectedException \Friendica\Model\Storage\StorageException - * @expectedExceptionMessageRegExp /Can't move to storage backend '.*'/ + * @expectedExceptionMessage Can't move to storage backend 'SystemResource' */ public function testMoveStorageWrong() { -- 2.39.2