moodle/enrol/lti/tests
Daniel Ziegenberg 87267da39d
MDL-81281 phpunit: assertObjectNotHasAttribute is deprecated
To be integrated as part of MDL-81266

When running PHPUnit 9.6 we get the following deprecation warnings:
"assertObjectNotHasAttribute() is deprecated and will be removed in PHPUnit
10. Refactor your test to use assertObjectNotHasProperty() instead."

So we replace all instances of assertObjectNotHasAttribute with
assertObjectNotHasProperty.

PHPUnit justifies the change with:
> PHPUnit currently refers to "fields" (see above) as "attributes". This
> is (or will become) confusing considering the introduction of
> attributes in PHP 8 and their support in PHPUnit.  PHPUnit will be
> changed to use the term "property" instead of "attribute" where "field"
> is meant.

Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
2024-03-25 16:21:07 +01:00
..
behat MDL-76803 lang: Update usages of reworded email display options 2023-01-10 16:01:18 +08:00
fixtures
generator MDL-74221 enrol_lti: change registration workflow to support drafts 2022-03-31 12:15:46 +08:00
local/ltiadvantage MDL-81281 phpunit: assertObjectNotHasAttribute is deprecated 2024-03-25 16:21:07 +01:00
privacy MDL-77164 various: fix incorrect phpdocs 2023-04-13 11:35:06 +01:00
data_connector_test.php MDL-73971 phpunit: Move more tests to use correct names and namespaces 2022-05-06 18:29:11 +02:00
helper_test.php MDL-75952 general: Since php81, refection->setAccessible() is no-op 2024-03-10 21:15:00 +01:00
lib_test.php MDL-68843 enrol_lti: auto disable orphaned enrolment instances 2022-07-18 16:08:18 +08:00
sync_members_test.php MDL-69251 enrol_lti: fix sync_members task inconsistent internal state 2022-07-15 12:17:08 +08:00
tool_provider_test.php MDL-73971 phpunit: Move more tests to use correct names and namespaces 2022-05-06 18:29:11 +02:00