Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fe314c4

Browse files
Fix tests and test setup
1 parent 628ee29 commit fe314c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pkg/snsqs/Tests/SnsQsProducerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function testCouldBeConstructedWithRequiredArguments()
4040
public function testShouldThrowIfMessageIsInvalidType()
4141
{
4242
$this->expectException(InvalidMessageException::class);
43-
$this->expectExceptionMessage('The message must be an instance of Enqueue\SnsQs\SnsQsMessage but it is Double\Message\P4');
43+
$this->expectExceptionMessageMatches('/The message must be an instance of Enqueue\\\\SnsQs\\\\SnsQsMessage but it is Double\\\\Message\\\\P\d+/');
4444

4545
$producer = new SnsQsProducer($this->createSnsContextMock(), $this->createSqsContextMock());
4646

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /