Skip to content

Commit

Permalink
Removed redundant unit test.
Browse files Browse the repository at this point in the history
Test no longer required after merge.

Refs: PV-690
  • Loading branch information
danjacob-anders authored and mhieta committed Feb 2, 2024
1 parent e6612a3 commit 57745e3
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions parking_permits/tests/models/test_parking_permit.py
Original file line number Diff line number Diff line change
Expand Up @@ -689,16 +689,6 @@ def test_can_be_refunded_open_ended_already_started(self):
self.assertFalse(permit.can_be_refunded)

@freeze_time(timezone.make_aware(datetime(2024, 1, 1)))
def test_can_be_refunded_open_ended_already_started_end_of_month(self):
permit = ParkingPermitFactory(
contract_type=ContractType.OPEN_ENDED,
status=ParkingPermitStatus.VALID,
start_time=timezone.now() - timedelta(days=1),
end_time=timezone.now() + timedelta(days=30),
)

self.assertTrue(permit.can_be_refunded)

def test_can_be_refunded_open_ended_ends_more_than_month(self):
permit = ParkingPermitFactory(
contract_type=ContractType.OPEN_ENDED,
Expand Down

0 comments on commit 57745e3

Please sign in to comment.