Skip to content

Commit a69509b

Browse files
committed
Use assertStringContainsString for asserting strings
1 parent 746feba commit a69509b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Codeception/Module/SOAP.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ public function seeSoapResponseEquals($xml)
283283
public function seeSoapResponseIncludes($xml)
284284
{
285285
$xml = $this->canonicalize($xml);
286-
$this->assertContains($xml, $this->getXmlResponse()->C14N(), "found in XML Response");
286+
$this->assertStringContainsString($xml, $this->getXmlResponse()->C14N(), "found in XML Response");
287287
}
288288

289289

@@ -312,7 +312,7 @@ public function dontSeeSoapResponseEquals($xml)
312312
public function dontSeeSoapResponseIncludes($xml)
313313
{
314314
$xml = $this->canonicalize($xml);
315-
$this->assertNotContains($xml, $this->getXmlResponse()->C14N(), "found in XML Response");
315+
$this->assertStringNotContainsString($xml, $this->getXmlResponse()->C14N(), "found in XML Response");
316316
}
317317

318318
/**

0 commit comments

Comments
 (0)