]> git.mxchange.org Git - friendica.git/commitdiff
Improve impossible exception-handler for storage move
authornupplaPhil <admin@philipp.info>
Fri, 17 Jan 2020 20:02:18 +0000 (21:02 +0100)
committernupplaPhil <admin@philipp.info>
Fri, 17 Jan 2020 22:55:18 +0000 (23:55 +0100)
tests/src/Core/StorageManagerTest.php

index fd72eb7fb29c96e529de29813376bbbfe347f202..084caa68ab09f2550526b69cc7d206c1d2ca1fbe 100644 (file)
@@ -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()
        {