Skip to content

Privacy provider unit tests fail #3

@alexmorrisnz

Description

@alexmorrisnz
$ vendor/bin/phpunit "provider_testcase" privacy/tests/provider_test.php
Moodle 3.9.1+ (Build: 20200814), 408d00012e0b0149048b5b3d6f6389f3d854df08
Php: 7.2.31.1.18.04.1.1, pgsql: 10.14 (Ubuntu 10.14-0ubuntu0.18.04.1), OS: Linux 5.4.0-48-generic x86_64
PHPUnit 7.5.20 by Sebastian Bergmann and contributors.

.............................................................   61 / 1345 (  4%)
.............................................................  122 / 1345 (  9%)
.............................................................  183 / 1345 ( 13%)
.............................................................  244 / 1345 ( 18%)
.............................................................  305 / 1345 ( 22%)
.............................................................  366 / 1345 ( 27%)
.............................................................  427 / 1345 ( 31%)
.............................................................  488 / 1345 ( 36%)
.............................................................  549 / 1345 ( 40%)
.............................................................  610 / 1345 ( 45%)
.............................................................  671 / 1345 ( 49%)
.............................................................  732 / 1345 ( 54%)
.............................................................  793 / 1345 ( 58%)
.............................................................  854 / 1345 ( 63%)
.............................................................  915 / 1345 ( 68%)
.............................................................  976 / 1345 ( 72%)
............................................................. 1037 / 1345 ( 77%)
............................................................. 1098 / 1345 ( 81%)
............................................................. 1159 / 1345 ( 86%)
............................................................. 1220 / 1345 ( 90%)
............................................................. 1281 / 1345 ( 95%)
............................................................. 1342 / 1345 ( 99%)
..F                                                           1345 / 1345 (100%)

Time: 1.28 minutes, Memory: 120.50 MB

There was 1 failure:

1) provider_testcase::test_table_coverage
The following tables with user fields must be covered with metadata providers: 
  - assignfeedback_structured_cs (owner)

/privacy/tests/provider_test.php:327
/lib/phpunit/classes/advanced_testcase.php:80

To re-run:
 vendor/bin/phpunit "provider_testcase" privacy/tests/provider_test.php

FAILURES!
Tests: 1345, Assertions: 10465, Failures: 1.

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