Skip to content

Commit bfafff4

Browse files
committed
Use assertStringContainsString for asserting strings
1 parent 6ec9d2e commit bfafff4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/AMQP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ public function seeMessageInQueueContainsText($queue, $text)
315315
$this->fail("Received message is not format of AMQPMessage");
316316
}
317317
$this->debugSection("Message", $msg->body);
318-
$this->assertContains($text, $msg->body);
318+
$this->assertStringContainsString($text, $msg->body);
319319
}
320320

321321
/**

0 commit comments

Comments
 (0)