diff --git a/tests/src/Core/StorageManagerTest.php b/tests/src/Core/StorageManagerTest.php index fd72eb7fb2..084caa68ab 100644 --- a/tests/src/Core/StorageManagerTest.php +++ b/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() {