$this->assertNotEmpty($data);
}
}
+
+ /**
+ * Test moving data to a WRONG storage
+ *
+ * @expectedException \Friendica\Model\Storage\StorageException
+ * @expectedExceptionMessage Can't move to storage backend 'SystemResource'
+ */
+ public function testMoveStorageWrong()
+ {
+ $storageManager = new StorageManager($this->dba, $this->config, $this->logger, $this->l10n);
+ $storage = $storageManager->getByName(Storage\SystemResource::getName());
+ $storageManager->move($storage);
+ }
}