Browse Source

Improve impossible exception-handler for storage move

pull/8123/head
nupplaPhil 2 years ago
parent
commit
3e72e8015b
No known key found for this signature in database GPG Key ID: D8365C3D36B77D90
  1. 2
      tests/src/Core/StorageManagerTest.php

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

Loading…
Cancel
Save