Panopto / moodle-mod_panoptocourseembed

This repo is the production version of the Moodle Panopto Course Embed tool. This tool will allow users to directly embed Panopto content into course view pages.
0 stars 1 forks source link

unit test error on Moodle 4.1 #4

Open danmarsden opened 2 months ago

danmarsden commented 2 months ago

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 commented 2 months ago

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

zeroAps commented 2 months ago

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

danmarsden commented 2 months ago

great thanks @zeroAps