Skip to content

Unit test dirsizes_totara_test fails in Totara #236

Description

@agwells

tests/check/dirsizes_totara_test.php causes a unit test failure in Totara, because it tests functionality that relies on Moodle 3.9 APIs. It should have a check for those that conditionally skips the test, like tests/check/tasklatencycheck_test.php has:

        if (!class_exists('core\check\check')) {
            $this->markTestSkipped();
        }

Metadata

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