]> git.mxchange.org Git - friendica.git/blobdiff - tests/Util/AppMockTrait.php
XMPP URI and markdown are no friends (yet)
[friendica.git] / tests / Util / AppMockTrait.php
index 59e1b3f556fd55b534344050317b40a06e2a4f19..c6f07897c6054be4bb072017a7600fc70745b43a 100644 (file)
@@ -25,6 +25,7 @@ use Dice\Dice;
 use Friendica\App;
 use Friendica\Core\Config;
 use Friendica\DI;
+use Friendica\Network\HTTPException\InternalServerErrorException;
 use Friendica\Render\FriendicaSmartyEngine;
 use Friendica\Util\Profiler;
 use Mockery\MockInterface;
@@ -64,7 +65,9 @@ trait AppMockTrait
         * Mock the App
         *
         * @param vfsStreamDirectory $root The root directory
-        * @param bool $raw If true, no config mocking will be done
+        * @param bool               $raw  If true, no config mocking will be done
+        *
+        * @throws InternalServerErrorException
         */
        public function mockApp(vfsStreamDirectory $root, $raw = false)
        {