X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/fe54c7f27ad2c2111020b2f28c58d889794ea1c5..refs/pull/3245/head:/tests/ThemeTest.php diff --git a/tests/ThemeTest.php b/tests/ThemeTest.php index fe8162559..775be92fc 100644 --- a/tests/ThemeTest.php +++ b/tests/ThemeTest.php @@ -170,6 +170,7 @@ class ThemeTest extends TestCase $args = []; $callback = function (...$eventArgs) use (&$args) { $args = $eventArgs; + return ['test' => 'hello!']; }; Theme::listen(ThemeEvents::WEBHOOK_CALL_BEFORE, $callback);