The Spec here:
https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-Communication.md#212-post-statements
States the statement resource should accept "An array of Statements or a single Statement to be stored."
The tests only test a single statement payload:
XAPI-00147 -
|
describe('An LRS\'s Statement Resource accepts POST requests (Communication 2.1.2.s1, XAPI-00147)', function () { |
XAPI-00146 -
|
describe('An LRS\'s Statement Resource upon processing a successful POST request returns code 200 OK and all Statement UUIDs within the POST **Implicit** (Communication 2.1.2.s1, XAPI-00146)', function () { |
The tests should be duplicated and tests with payloads of:
- Single statement as an array
- Multiple statements as an array
The Spec here:
https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-Communication.md#212-post-statements
States the statement resource should accept "An array of Statements or a single Statement to be stored."
The tests only test a single statement payload:
XAPI-00147 -
lrs-conformance-test-suite/test/v1_0_3/H.Communication2.1-StatementResource.js
Line 246 in 14778f9
XAPI-00146 -
lrs-conformance-test-suite/test/v1_0_3/H.Communication2.1-StatementResource.js
Line 265 in 14778f9
The tests should be duplicated and tests with payloads of: