catalyst / moodle-auth_saml2

SAML done 100% in Moodle, fast, simple, secure
https://moodle.org/plugins/auth_saml2
71 stars 133 forks source link

T12support part 1 #645

Closed danmarsden closed 2 years ago

danmarsden commented 2 years ago

Relates to issue #644 - fixes some unit test issues when using the 3.9 branch on T12 and higher.

This PR takes care of assertStringContainsString backwards compatiblity (using the same method as some of the other existing saml testing code), fixes a unit test failure where the autoloading classes paths are not specific enough (totara has that extra directory for wwwroot code) and ports #578 from the 3.5 stable branch into the 3.9 stable branch - it doesn't appear to affect 3.9 and higher tests.