File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 13271327 true )))))
13281328
13291329(s/def ::statements
1330- (s/coll-of ::statement :into [] :min-count 1 ))
1330+ (s/coll-of ::statement :into []))
13311331
13321332(s/def ::lrs-statements
1333- (s/coll-of ::lrs-statement :into [] :min-count 1 ))
1333+ (s/coll-of ::lrs-statement :into []))
Original file line number Diff line number Diff line change 626626 " verb" {" id" " http://adlnet.gov/expapi/verbs/voided"
627627 " display" {" en-US" " voided" }}
628628 " object" {" id" " http://example.com/activities/1" }})))
629+
630+ (deftest statements-test
631+ (testing " generic statememt batch"
632+ (should-satisfy+ ::xs/statements
633+ [simple-statement]
634+ [simple-statement long-statement]
635+ []))
636+ (testing " LRS retrieval statement batch"
637+ (should-satisfy+ ::xs/lrs-statements
638+ [d/statement] ; This statement has ID and other required fields
639+ [])))
You can’t perform that action at this time.
0 commit comments