Skip to content

No privacy provider in step_pushbackuptask subplugin causes unit test failure #306

Description

@djarran

Description: Running the following unit test results in an error because the subplugin does not have a privacy provider

> vendor/bin/phpunit --filter test_all_providers_compliant privacy/tests/privacy/provider_test.php
Moodle 4.5.11+ (Build: 20260501), 11cb1f29138b7bf3a451cad5cc1edc4b1ef85693
Php: 8.3.27, pgsql: 17.10 (Debian 17.10-1.pgdg13+1), OS: Linux 6.17.0-35-generic x86_64
PHPUnit 9.6.34 by Sebastian Bergmann and contributors.

...............................................................  63 / 632 (  9%)
............................................................... 126 / 632 ( 19%)
............................................................... 189 / 632 ( 29%)
............................................................... 252 / 632 ( 39%)
............................................................... 315 / 632 ( 49%)
............................................................... 378 / 632 ( 59%)
............................................................... 441 / 632 ( 69%)
............................................................... 504 / 632 ( 79%)
...............F............................................... 567 / 632 ( 89%)
............................................................... 630 / 632 ( 99%)
..                                                              632 / 632 (100%)

Time: 01:12.524, Memory: 98.50 MB

There was 1 failure:

1) core_privacy\privacy\provider_test::test_all_providers_compliant with data set "lifecyclestep_pushbackuptask" ('lifecyclestep_pushbackuptask', 'lifecyclestep_pushbackuptask\...ovider')
Failed asserting that false is true.

/var/www/mdl45-unicat/privacy/tests/privacy/provider_test.php:179
/var/www/mdl45-unicat/lib/phpunit/classes/advanced_testcase.php:76

FAILURES!
Tests: 632, Assertions: 632, Failures: 1.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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