Skip to content

Commit

Permalink
Housekeeping - fix broken test
Browse files Browse the repository at this point in the history
The wrong feature flag was being stubbed.
  • Loading branch information
Cruikshanks committed Sep 24, 2024
1 parent 009426c commit 20291e6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/services/licences/view-licence-set-up.service.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('View Licence Set Up service', () => {

beforeEach(() => {
Sinon.stub(FeatureFlagsConfig, 'enableRequirementsForReturns').value(false)
Sinon.stub(FeatureFlagsConfig, 'enableRequirementsForReturns').value(false)
Sinon.stub(FeatureFlagsConfig, 'enableTwoPartTariffSupplementary').value(false)

Sinon.stub(FetchAgreementsService, 'go').returns([
{
Expand Down Expand Up @@ -145,9 +145,7 @@ describe('View Licence Set Up service', () => {
makeLicenceNonChargeable: '/licences/2c80bd22-a005-4cf4-a2a2-73812a9861de/charge-information/non-chargeable-reason?start=1',
setupNewCharge: '/licences/2c80bd22-a005-4cf4-a2a2-73812a9861de/charge-information/create'
},
recalculateBills: {
markForSupplementaryBilling: '/system/licences/2c80bd22-a005-4cf4-a2a2-73812a9861de/mark-for-supplementary-billing'
},
recalculateBills: {},
returnVersions: {}
},
returnVersions: [
Expand Down

0 comments on commit 20291e6

Please sign in to comment.