catalyst / moodle-auth_outage

Planned, graduated user and admin friendly moodle outages
https://moodle.org/plugins/auth_outage
17 stars 32 forks source link

Fix deprecated assertFileNotExists #259

Closed dmitriim closed 2 years ago

dmitriim commented 3 years ago

In Moodle 3.11:

1) auth_outage_maintenance_static_page_test::test_updatestaticpage_hasfile
assertFileNotExists() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertFileDoesNotExist() instead.

/var/www/html/lib/phpunit/classes/advanced_testcase.php:80

2) auth_outage_outagelib_test::test_createmaintenancephpcode_withoutips
assertFileNotExists() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertFileDoesNotExist() instead.

/var/www/html/lib/phpunit/classes/advanced_testcase.php:80

3) auth_outage_outagelib_test::test_createmaintenancephpcode_withoutoutage
assertFileNotExists() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertFileDoesNotExist() instead.

/var/www/html/lib/phpunit/classes/advanced_testcase.php:80

4) auth_outage_outagelib_test::test_preparenextoutage_noautostarttrigger
assertFileNotExists() is deprecated and will be removed in PHPUnit 10. Refactor your code to use assertFileDoesNotExist() instead.

/var/www/html/lib/phpunit/classes/advanced_testcase.php:80
danmarsden commented 2 years ago

fixed in #285