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
1 changed files with 1 additions and 1 deletions

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