Added PHPUnit annotations

This commit is contained in:
Constantin Graf
2024-06-14 14:48:10 +02:00
committed by Gregor Vostrak
parent 42da2c3397
commit 7c26cee1ea
23 changed files with 74 additions and 0 deletions

View File

@@ -4,10 +4,15 @@ declare(strict_types=1);
namespace Tests\Unit\Console\Commands\SelfHost;
use App\Console\Commands\SelfHost\SelfHostGenerateKeysCommand;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\UsesClass;
use Tests\TestCase;
#[CoversClass(SelfHostGenerateKeysCommand::class)]
#[UsesClass(SelfHostGenerateKeysCommand::class)]
class SelfHostGenerateKeysCommandTest extends TestCase
{
public function test_generates_app_key_and_passport_keys_per_default_in_env_format(): void