Improve impossible exception-handler for storage move

This commit is contained in:
Philipp Holzer 2020-01-17 21:02:18 +01:00
parent 732992a296
commit 3e72e8015b
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90

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