aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Mail
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-08-29 16:36:40 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2022-08-29 16:36:40 +0200
commit6f80fe6ada68cee35e714568afeb614238fbc241 (patch)
treeeec7e8eb3742ec0e6b0463c290cb0cf146affca7 /tests/lib/Mail
parent791e0214556c353d9c3ac9b2c54e465588c6af67 (diff)
downloadnextcloud-server-6f80fe6ada68cee35e714568afeb614238fbc241.tar.gz
nextcloud-server-6f80fe6ada68cee35e714568afeb614238fbc241.zip
Remove deprecated at matcher from tests/lib
Only 15 warnings left in there Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'tests/lib/Mail')
-rw-r--r--tests/lib/Mail/MailerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Mail/MailerTest.php b/tests/lib/Mail/MailerTest.php
index 4b15a4233fd..74c4f2a62ab 100644
--- a/tests/lib/Mail/MailerTest.php
+++ b/tests/lib/Mail/MailerTest.php
@@ -135,7 +135,7 @@ class MailerTest extends TestCase {
$message = $this->createMock(Message::class);
$event = new BeforeMessageSent($message);
- $this->dispatcher->expects($this->at(0))
+ $this->dispatcher->expects($this->once())
->method('dispatchTyped')
->with($this->equalTo($event));