mirror of
https://github.com/koel/koel
synced 2024-11-24 13:13:05 +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();
|
|
}
|
|
}
|