8000 minor #51831 [Notifier] Fix failing testcase (OskarStark) · symfony/symfony@9767270 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9767270

Browse files
minor #51831 [Notifier] Fix failing testcase (OskarStark)
This PR was merged into the 6.4 branch. Discussion ---------- [Notifier] Fix failing testcase | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | #51276 | License | MIT Follows * #51276 Commits ------- f7384f4 [Notifier] Fix failing testcase
2 parents 7be1c03 + f7384f4 commit 9767270

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Symfony/Component/Notifier/Tests/Message/NullMessageTest.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ public function testCanBeConstructed(MessageInterface $message)
3030
$this->assertSame($message->getSubject(), $nullMessage->getSubject());
3131
$this->assertSame($message->getRecipientId(), $nullMessage->getRecipientId());
3232
$this->assertSame($message->getOptions(), $nullMessage->getOptions());
33-
34-
(null === $message->getTransport())
35-
? $this->assertSame('null', $nullMessage->getTransport())
36-
: $this->assertSame($message->getTransport(), $nullMessage->getTransport());
33+
$this->assertSame($message->getTransport(), $nullMessage->getTransport());
3734
}
3835

3936
public static function messageDataProvider(): \Generator

0 commit comments

Comments
 (0)
0