Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.74 KB

File metadata and controls

55 lines (33 loc) · 1.74 KB

< Return to Overview

Single Seller (single-seller)

The booking system only supports providing services to one seller.

https://openactive.io/open-booking-api/EditorsDraft/#booking-pre-conditions

Coverage Status: complete

Running tests for only this feature

npm start -- --runInBand test/features/core/single-seller/

'Implemented' tests

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

"implementedFeatures": {
  ...
  "single-seller": true,
  ...
}
Identifier Name Description Prerequisites per Opportunity Type Required Test Interface Actions
only-primary-seller-configured Only the primary seller should be configured If the single-seller feature is implemented, multiple-sellers is not enabled, and so a secondary seller should not be configured.

'Not Implemented' tests

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

"implementedFeatures": {
  ...
  "single-seller": false,
  ...
}
Identifier Name Description Prerequisites per Opportunity Type Required Test Interface Actions
multiple-sellers-implemented Multiple Sellers feature must be implemented if Single Seller is not implemented Either one, and only one, of the Multiple Sellers feature and Single Seller feature must be implemented