Skip to content

Mdl4.5 core_external\external_api_test units failing because of mod_equella functions in externallib.php #99

Open
@aneno-m-e

Description

Running core_external\external_api_test::test_all_external_info unit test in isolation results in the following output:

There were 2 errors:

1) core_external\external_api_test::test_all_external_info with data set "equella_find_all_usage" (stdClass Object (...))
Unexpected debugging() call detected.
Debugging: Invalid $required parameter value: '' .
                It must be either VALUE_DEFAULT, VALUE_REQUIRED, or VALUE_OPTIONAL

2) core_external\external_api_test::test_all_external_info with data set "equella_find_usage_for_item" (stdClass Object (...))
Unexpected debugging() call detected.
Debugging: Invalid $required parameter value: '' .
                It must be either VALUE_DEFAULT, VALUE_REQUIRED, or VALUE_OPTIONAL

The issue seems to come from L137 and L165 of the externallib.php file.

Running:

  • mod_equella: version 1.3.1
  • Moodle Version: 4.5

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions