]> BookStack Code Mirror - bookstack/blobdiff - tests/Actions/WebhookFormatTesting.php
LDAP: Review, testing and update of LDAP TLS CA cert control
[bookstack] / tests / Actions / WebhookFormatTesting.php
index 07341c75b2431a8c2d4fe7a33439b652d92ff6ba..b4fa49532c44f1c2f592588532b4fd645ce3cfb7 100644 (file)
@@ -2,9 +2,9 @@
 
 namespace Tests\Actions;
 
-use BookStack\Actions\ActivityType;
-use BookStack\Actions\Webhook;
-use BookStack\Actions\WebhookFormatter;
+use BookStack\Activity\ActivityType;
+use BookStack\Activity\Models\Webhook;
+use BookStack\Activity\Tools\WebhookFormatter;
 use Illuminate\Support\Arr;
 use Tests\TestCase;
 
@@ -41,7 +41,7 @@ class WebhookFormatTesting extends TestCase
     protected function getWebhookData(string $event, $detail): array
     {
         $webhook = Webhook::factory()->make();
-        $user = $this->getEditor();
+        $user = $this->users->editor();
         $formatter = WebhookFormatter::getDefault($event, $webhook, $detail, $user, time());
 
         return $formatter->format();