8000 [Notifier] Remove trailing argument in tests · symfony/symfony@d3fb308 · GitHub
[go: up one dir, main page]

Skip to content

Commit d3fb308

Browse files
committed
[Notifier] Remove trailing argument in tests
1 parent 937c403 commit d3fb308

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Notifier/Bridge/Infobip/Tests/InfobipTransportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function testSupportsMessageInterface(): void
3232
$transport = $this->getTransport();
3333

3434
$this->assertTrue($transport->supports(new SmsMessage('0611223344', 'Hello!')));
35-
$this->assertFalse($transport->supports($this->createMock(MessageInterface::class), 'Hello!'));
35+
$this->assertFalse($transport->supports($this->createMock(MessageInterface::class)));
3636
}
3737

3838
public function testSendNonSmsMessageThrowsException(): void

src/Symfony/Component/Notifier/Bridge/Sendinblue/Tests/SendinblueTransportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function testSupportsMessageInterface(): void
3535
$transport = $this->initTransport();
3636

3737
$this->assertTrue($transport->supports(new SmsMessage('0611223344', 'Hello!')));
38-
$this->assertFalse($transport->supports($this->createMock(MessageInterface::class), 'Hello!'));
38+
$this->assertFalse($transport->supports($this->createMock(MessageInterface::class)));
3939
}
4040

4141
public function testSendNonSmsMessageThrowsException(): void

0 commit comments

Comments
 (0)
0