Skip to content

Unit test Failure on MOODLE 5.2 with the last up to date branch MOODLE_501_STABLE #410

Description

@gbarat87

vendor/bin/phpunit --testsuite=auth_outage_testsuite
Moodle 5.2.1+ (Build: 20260616)
Php: 8.4.22, pgsql: 17.5 (Debian 17.5-1.pgdg120+1), OS: Linux 6.17.0-35-generic x86_64
PHPUnit 11.5.55 by Sebastian Bergmann and contributors.

Runtime: PHP 8.4.22

............................................................... 63 / 183 ( 34%)
.....................FFFFF..FFF................................ 126 / 183 ( 68%)
......................................................... 183 / 183 (100%)

Time: 00:40.097, Memory: 97.00 MB

There were 8 failures:

  1. auth_outage\local\controllers\infopage_test::test_constructor
    Failed asserting that false is true.

/var/www/catalyst-moodle/public/auth/outage/tests/local/controllers/infopage_test.php:48

  1. auth_outage\local\controllers\infopage_test::test_constructor_withparams
    Failed asserting that false is true.

/var/www/catalyst-moodle/public/auth/outage/tests/local/controllers/infopage_test.php:57

  1. auth_outage\local\controllers\infopage_test::test_constructor_idmismatch
    Failed asserting that false is true.

/var/www/catalyst-moodle/public/auth/outage/tests/local/controllers/infopage_test.php:67

  1. auth_outage\local\controllers\infopage_test::test_constructor_invalidoutage
    Failed asserting that false is true.

/var/www/catalyst-moodle/public/auth/outage/tests/local/controllers/infopage_test.php:78

  1. auth_outage\local\controllers\infopage_test::test_output
    Failed asserting that false is true.

/var/www/catalyst-moodle/public/auth/outage/tests/local/controllers/infopage_test.php:88

  1. auth_outage\local\controllers\infopage_test::test_output_with_forcelogin
    Failed asserting that false is true.

/var/www/catalyst-moodle/public/auth/outage/tests/local/controllers/infopage_test.php:129

  1. auth_outage\local\controllers\infopage_test::test_output_with_forcelogin_if_static
    Failed asserting that false is true.

/var/www/catalyst-moodle/public/auth/outage/tests/local/controllers/infopage_test.php:144

  1. auth_outage\local\controllers\infopage_test::test_svgicons_is_true
    Failed asserting that false is true.

/var/www/catalyst-moodle/public/auth/outage/tests/local/controllers/infopage_test.php:162

FAILURES!
Tests: 183, Assertions: 604, Failures: 8, PHPUnit Deprecations: 43.

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