MDL-74691 enrol_lti: allow omission of lineitems property in ags claim
commit006b32290c54334b6d84feb6a4da46947f3939db
authorJake Dallimore <jake@moodle.com>
Mon, 9 May 2022 08:32:02 +0000 (9 16:32 +0800)
committerJake Dallimore <jake@moodle.com>
Thu, 16 Jun 2022 06:59:05 +0000 (16 14:59 +0800)
tree0d9d06381ed608800c69675dc765a3a31f77e2ac
parent4a9fa426bcaf0b36f7f0a7e186804c1e0b2c39df
MDL-74691 enrol_lti: allow omission of lineitems property in ags claim

The claim is valid with either or both of the URLs, so long as there's
at least one.
enrol/lti/classes/local/ltiadvantage/entity/ags_info.php
enrol/lti/classes/local/ltiadvantage/entity/resource_link.php
enrol/lti/classes/local/ltiadvantage/repository/resource_link_repository.php
enrol/lti/classes/local/ltiadvantage/service/tool_launch_service.php
enrol/lti/tests/local/ltiadvantage/entity/ags_info_test.php
enrol/lti/tests/local/ltiadvantage/entity/resource_link_test.php