Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed PHPunit tests on Moodle 4.0. auth_saml2\event\cert_regenerated Object (...) #637

Closed
sumaiyamannan opened this issue Jan 6, 2022 · 1 comment

Comments

@sumaiyamannan
Copy link
Contributor

What happened?
PHPUnit tests fail after changes on 16 Dec from moodle upstream

Error received:

There was 1 failure:

  1. tool_admin_presets\local\action\export_test::test_export_execute with data set "Export settings and plugins, excluding sensible" (false)
    Failed asserting that auth_saml2\event\cert_regenerated Object (...) is an instance of class "\tool_admin_presets\event\preset_exported".

/var/www/html/admin/tool/admin_presets/tests/local/action/export_test.php:151
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
phpvfscomposer:///var/www/html/vendor/phpunit/phpunit/phpunit:91

What you expected:
The PHPUnit test should have passed.

@danmarsden
Copy link
Member

this one seems to have resolved itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants