Add getTrialUntil to BillingContract; Allow delete endpoints after blocking

This commit is contained in:
Constantin Graf
2024-09-05 13:53:36 +02:00
committed by Constantin Graf
parent 83301d03ca
commit 01dd13b947
5 changed files with 45 additions and 4 deletions

View File

@@ -28,6 +28,7 @@ abstract class TestCase extends BaseTestCase
$this->mock(BillingContract::class, function (MockInterface $mock) {
$mock->shouldReceive('hasSubscription')->andReturn(false);
$mock->shouldReceive('hasTrial')->andReturn(false);
$mock->shouldReceive('getTrialUntil')->andReturn(null);
$mock->shouldReceive('isBlocked')->andReturn(false);
});
}