turnitin / moodle-plagiarism_turnitin

Turnitin Plagiarism plugin for Moodle
http://www.turnitin.com
GNU General Public License v3.0
49 stars 70 forks source link

PHPUnit tests warning in Moodle 4.5 #772

Closed dmitriim closed 4 days ago

dmitriim commented 2 weeks ago
root@6548f6ade27a:/var/www/moodle45# vendor/bin/phpunit --testsuite plagiarism_turnitin_testsuite
Moodle 4.5+ (Build: 20241115), 13dc940709594fb23c9db82a3632872ac611e8dc
Php: 8.1.29, pgsql: 16.0 (Debian 16.0-1.pgdg120+1), OS: Linux 6.8.0-48-generic x86_64
PHPUnit 9.6.18 by Sebastian Bergmann and contributors.

...W............                                                  16 / 16 (100%)

Time: 00:03.293, Memory: 95.00 MB

There was 1 warning:

1) plagiarism_turnitin_lib_testcase::test_plagiarism_set_config
assertObjectNotHasAttribute() is deprecated and will be removed in PHPUnit 10. Refactor your test to use assertObjectNotHasProperty() instead.

/var/www/moodle45/lib/phpunit/classes/advanced_testcase.php:76

WARNINGS!
Tests: 16, Assertions: 65, Warnings: 1.
root@6548f6ade27a:/var/www/moodle45#