From: nupplaPhil Date: Fri, 17 Jan 2020 20:02:18 +0000 (+0100) Subject: Improve impossible exception-handler for storage move X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;ds=inline;h=3e72e8015bb72a2fd3918b5b1b9ae589739f1093;p=friendica.git Improve impossible exception-handler for storage move --- 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() {