Update RunHooksCommandTest.php

This commit is contained in:
robert dennis
2026-06-05 12:26:45 -04:00
parent 2f01a047df
commit 73eaeb13c6
@@ -5,6 +5,7 @@ namespace Pterodactyl\Tests\Unit\Console\Commands\Environment\Addons;
use Illuminate\Console\Command;
use Pterodactyl\Tests\TestCase;
use Illuminate\Support\Facades\File;
use Illuminate\Testing\PendingCommand;
use Illuminate\Support\Facades\Process;
class RunHooksCommandTest extends TestCase
@@ -97,7 +98,7 @@ class RunHooksCommandTest extends TestCase
Process::assertNothingRan();
}
private function runHooks(string $event = 'post-install'): \Illuminate\Testing\PendingCommand
private function runHooks(string $event = 'post-install'): PendingCommand
{
return $this->artisan('p:environment:addons:run-hooks', ['event' => $event, '--no-interaction' => true]);
}