mirror of
https://github.com/koel/koel
synced 2024-12-30 06:23: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();
|
|
}
|
|
}
|