Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 2.5 KB

File metadata and controls

46 lines (28 loc) · 2.5 KB

< Return to Overview

accessPass update notifications (access-pass-update-notifications)

Updating accessPass after an opportunity is booked

Required if accessPass can change

https://www.openactive.io/open-booking-api/EditorsDraft/#other-notifications

Coverage Status: complete

Test prerequisites - Opportunities

Opportunities that match the following criteria must exist in the booking system (for each configured bookableOpportunityTypesInScope) for the configured primary Seller in order to use useRandomOpportunities: true. Alternatively the following testOpportunityCriteria values must be supported by the test interface of the booking system for useRandomOpportunities: false.

TestOpportunityOfflineBookable x3, TestOpportunityBookable x1

Test prerequisites - Test Interface Actions

The following Test Interface Actions must be implemented by the test interface of the booking system in order to test this feature (see the Developer Docs guide for implementing Test Interface Actions):

AccessPassUpdateSimulateAction

Running tests for only this feature

npm start -- --runInBand test/features/access/access-pass-update-notifications/

'Implemented' tests

Update default.json within packages/openactive-integration-tests/config/ as follows to enable 'Implemented' testing for this feature:

"implementedFeatures": {
  ...
  "access-pass-update-notifications": true,
  ...
}
Identifier Name Description Prerequisites per Opportunity Type Required Test Interface Actions
access-pass-update-notifications Access pass updated after B request. Access pass updated after B request is reflected in Orders feed. TestOpportunityOfflineBookable x3, TestOpportunityBookable x1 AccessPassUpdateSimulateAction