SEO additions
This commit is contained in:
@@ -2,11 +2,12 @@
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use App\Models\License;
|
||||
use App\Models\LicenseProduct;
|
||||
use Modules\Licensing\Models\License;
|
||||
use Modules\Licensing\Models\LicenseProduct;
|
||||
use App\Models\User;
|
||||
use App\Services\Payments\PaddleClient;
|
||||
use Modules\Paddle\Services\PaddleClient;
|
||||
use Illuminate\Foundation\Testing\RefreshDatabase;
|
||||
use Illuminate\Foundation\Http\Middleware\PreventRequestForgery;
|
||||
use Mockery\MockInterface;
|
||||
use Tests\TestCase;
|
||||
|
||||
@@ -31,8 +32,10 @@ class PortalSubscriptionManagementTest extends TestCase
|
||||
|
||||
public function test_personal_subscription_is_upgraded_in_place(): void
|
||||
{
|
||||
config()->set('sonardesk.paddle.personal_monthly_price_id', 'pri_personal_monthly');
|
||||
config()->set('sonardesk.paddle.professional_monthly_price_id', 'pri_professional_monthly');
|
||||
$this->withoutMiddleware(PreventRequestForgery::class);
|
||||
|
||||
config()->set('paddle.personal_monthly_price_id', 'pri_personal_monthly');
|
||||
config()->set('paddle.professional_monthly_price_id', 'pri_professional_monthly');
|
||||
|
||||
$personal = $this->product('personal-monthly', 'Personal', 'pri_personal_monthly', 1);
|
||||
$professional = $this->product('professional-monthly', 'Professional', 'pri_professional_monthly', 3);
|
||||
|
||||
Reference in New Issue
Block a user