From 7d75bdb0700998a3638a47de57ed7863cfded238 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 14 Apr 2021 14:52:42 +1000 Subject: [PATCH] minor fixes for tests --- tests/Feature/SubscriptionApiTest.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/Feature/SubscriptionApiTest.php b/tests/Feature/SubscriptionApiTest.php index 4c5148c410a6..2ef470bbe649 100644 --- a/tests/Feature/SubscriptionApiTest.php +++ b/tests/Feature/SubscriptionApiTest.php @@ -12,6 +12,7 @@ namespace Tests\Feature; use App\Models\Product; +use App\Models\RecurringInvoice; use App\Models\Subscription; use App\Utils\Traits\MakesHash; use Illuminate\Database\Eloquent\Model; @@ -91,6 +92,7 @@ class SubscriptionApiTest extends TestCase $product = Product::factory()->create([ 'company_id' => $this->company->id, 'user_id' => $this->user->id, + 'frequency_id' => RecurringInvoice::FREQUENCY_MONTHLY, ]); $response1 = $this