mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
22 lines
403 B
PHP
22 lines
403 B
PHP
<?php
|
|
|
|
namespace Tests;
|
|
|
|
use App\Facades\License;
|
|
use Tests\Fakes\FakePlusLicenseService;
|
|
use Tests\TestCase as BaseTestCase;
|
|
|
|
class PlusTestCase extends BaseTestCase
|
|
{
|
|
public static function enablePlusLicense(): void
|
|
{
|
|
License::swap(app(FakePlusLicenseService::class));
|
|
}
|
|
|
|
public function setUp(): void
|
|
{
|
|
parent::setUp();
|
|
|
|
self::enablePlusLicense();
|
|
}
|
|
}
|