Improve impossible exception-handler for storage move

This commit is contained in:
nupplaPhil
2020-01-17 21:02:18 +01:00
parent 732992a296
commit 3e72e8015b

View 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()
{