Commit 4a1df021 authored by Eloy Lafuente's avatar Eloy Lafuente
Browse files

MDL-71036 phpunit: ->at() matcher is deprecated

Mocke at() matcher is being deprecated with phpunit9 and
will be removed with phpunit10.


Luckily we are using those deprecated matchers only in completionlib
tests, so there aren't many cases to modify. Now, we are using
supported matchers (once, exactly, never...) and the tests have
been reorganised to better represent the expected behavior (how
many times stuff is called, with which params and return values).
parent be30af0e
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment