From d7612f56e5ac3e663a18ab324ebddd5971489ca7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ignacio=20Cu=C3=B1ado=20Barral?= Date: Thu, 22 Aug 2024 17:53:07 +0200 Subject: [PATCH] test: Update tests with new method name --- tests/BillableTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/BillableTest.php b/tests/BillableTest.php index f3e9e4e..54e3acf 100644 --- a/tests/BillableTest.php +++ b/tests/BillableTest.php @@ -290,7 +290,7 @@ public function canFindInvoiceByOrderIdUsingFindInvoiceByOrderIdOrFail() } /** @test */ - public function testHasActiveSubscriptions() + public function testHasActiveSubscription() { $this->withConfiguredPlans(); $this->withMockedCouponRepository(); // 'test-coupon' @@ -303,7 +303,7 @@ public function testHasActiveSubscriptions() ]); $user->newSubscription('default', 'monthly-10-1')->create(); - $this->assertTrue($user->hasActiveSubscriptions()); + $this->assertTrue($user->hasActiveSubscription()); } /** @test */ @@ -311,6 +311,6 @@ public function testHasActiveSubscriptionsFalse() { $user = User::factory()->create(); - $this->assertFalse($user->hasActiveSubscriptions()); + $this->assertFalse($user->hasActiveSubscription()); } }