mirror of
https://github.com/pterodactyl/panel.git
synced 2026-11-29 10:55:43 -05:00
Update RunHooksCommandTest.php
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user