moodle/cache/tests
Eloy Lafuente (stronk7) 46606b3ddd MDL-67673 phpunit: Remove deprecated assertEquals() params
The optional parameters of assertEquals() and assertNotEquals()
are deprecated in PHPUnit 8 (to be removed in PHPUnit 9):

- delta => use assertEqualsWithDelta()
- canonicalize => use assertEqualsCanonicalizing()
- ignoreCase => use assertEqualsIgnoringCase
- maxDepth => removed without replacement.

More info @ https://github.com/sebastianbergmann/phpunit/issues/3341

Initial search done with:

ag 'assert(Not)?Equals\(.*,.*,' --php

Then, running tests and fixing remaining cases.
2020-10-21 12:46:05 +02:00
..
fixtures MDL-67673 phpunit: Remove deprecated assertEquals() params 2020-10-21 12:46:05 +02:00
administration_helper_test.php MDL-67673 phpunit: Remove deprecated assertInternalType() 2020-10-21 12:46:05 +02:00
cache_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:05 +02:00
config_writer_test.php MDL-67673 phpunit: Remove deprecated assertInternalType() 2020-10-21 12:46:05 +02:00