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

unit test error on Moodle 4.1 #4

Open
danmarsden opened this issue Sep 18, 2024 · 3 comments · May be fixed by #6
Open

unit test error on Moodle 4.1 #4

danmarsden opened this issue Sep 18, 2024 · 3 comments · May be fixed by #6

Comments

@danmarsden
Copy link

  1. core\externallib_test::test_all_external_info with data set "mod_panoptocourseembed_get_panoptocourseembeds_by_courses" (stdClass Object (...))
    coding_exception: Coding error detected, it must be fixed by a programmer: Cannot find file /var/www/html/mod/panoptocourseembed/externallib.php with external function implementation for mod_panoptocourseembed_external::get_panoptocourseembeds_by_courses

/var/www/html/lib/externallib.php:88
/var/www/html/lib/tests/externallib_test.php:442
/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
phpvfscomposer:///var/www/html/vendor/phpunit/phpunit/phpunit:97

@danmarsden
Copy link
Author

Note - this failure prevents us from being able to deploy this plugin into our sites as we run unit tests before deployment.

@zeroAps
Copy link
Contributor

zeroAps commented Sep 30, 2024

Thanks @danmarsden. I have created internal item 6633 to add github actions and fix this test.

@danmarsden
Copy link
Author

great thanks @zeroAps

danmarsden added a commit to danmarsden/moodle-mod_panoptocourseembed that referenced this issue Oct 7, 2024
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

Successfully merging a pull request may close this issue.

2 participants