Skip to content

Commit

Permalink
Fix typo in test description
Browse files Browse the repository at this point in the history
  • Loading branch information
Jozzey committed Apr 28, 2023
1 parent 14c5c1d commit 75c5765
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ describe('Determine charge period service', () => {
chargeVersion.licence = { startDate: new Date('2022-08-31') }
})

it('returns the licence start and charge version end date', () => {
it('returns the licence start and financial end date', () => {
const result = DetermineChargePeriodService.go(chargeVersion, financialYear.yearEnding)

expect(result.startDate).to.equal(chargeVersion.licence.startDate)
Expand All @@ -135,7 +135,7 @@ describe('Determine charge period service', () => {
chargeVersion.licence = { startDate: new Date('2022-01-01'), revokedDate: new Date('2022-08-01') }
})

it('returns the financial year start and licence revoked end date', () => {
it('returns the financial start and licence revoked end date', () => {
const result = DetermineChargePeriodService.go(chargeVersion, financialYear.yearEnding)

expect(result.startDate).to.equal(financialYear.startDate)
Expand All @@ -148,7 +148,7 @@ describe('Determine charge period service', () => {
chargeVersion.licence = { startDate: new Date('2022-01-01'), lapsedDate: new Date('2022-08-31') }
})

it('returns the financial year start and licence lapsed end date', () => {
it('returns the financial start and licence lapsed end date', () => {
const result = DetermineChargePeriodService.go(chargeVersion, financialYear.yearEnding)

expect(result.startDate).to.equal(financialYear.startDate)
Expand All @@ -161,7 +161,7 @@ describe('Determine charge period service', () => {
chargeVersion.licence = { startDate: new Date('2022-01-01'), expiredDate: new Date('2022-07-01') }
})

it('returns the financial year start and licence expired end date', () => {
it('returns the financial start and licence expired end date', () => {
const result = DetermineChargePeriodService.go(chargeVersion, financialYear.yearEnding)

expect(result.startDate).to.equal(financialYear.startDate)
Expand Down

0 comments on commit 75c5765

Please sign in to comment.