From e95024d48bee804bfbaaaa7ae85236aefc6e5a83 Mon Sep 17 00:00:00 2001 From: Nick Evans <2616208+nickevansuk@users.noreply.github.com> Date: Wed, 2 Aug 2023 16:25:39 +0100 Subject: [PATCH] feat: Add IFU support for CI (#550) --- .github/workflows/reference-implementation.yml | 2 +- config/.example.facilityuse-has-slots.json | 8 ++++++++ config/default.json | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 config/.example.facilityuse-has-slots.json diff --git a/.github/workflows/reference-implementation.yml b/.github/workflows/reference-implementation.yml index 909fbb7e6f..5d8f1c3cbb 100644 --- a/.github/workflows/reference-implementation.yml +++ b/.github/workflows/reference-implementation.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: mode: ['random', 'controlled'] - profile: ['all-features', 'single-seller', 'no-payment-reconciliation', 'no-auth', 'no-tax-calculation', 'prepayment-always-required'] + profile: ['all-features', 'single-seller', 'no-payment-reconciliation', 'no-auth', 'no-tax-calculation', 'prepayment-always-required', 'facilityuse-has-slots'] flow: ['simple', 'approval'] include: - mode: 'random' diff --git a/config/.example.facilityuse-has-slots.json b/config/.example.facilityuse-has-slots.json new file mode 100644 index 0000000000..88d0ebf1c3 --- /dev/null +++ b/config/.example.facilityuse-has-slots.json @@ -0,0 +1,8 @@ +{ + "integrationTests": { + "bookableOpportunityTypesInScope": { + "IndividualFacilityUseSlot": false, + "FacilityUseSlot": true + } + } +} \ No newline at end of file diff --git a/config/default.json b/config/default.json index 09ac91b2b2..cc95122c27 100644 --- a/config/default.json +++ b/config/default.json @@ -42,8 +42,8 @@ "additionalReporters": [], "bookableOpportunityTypesInScope": { "ScheduledSession": true, - "FacilityUseSlot": true, - "IndividualFacilityUseSlot": false, + "IndividualFacilityUseSlot": true, + "FacilityUseSlot": false, "CourseInstance": false, "CourseInstanceSubEvent": false, "HeadlineEvent": false,