Skip to content

Commit 9edb585

Browse files
Replace assertContains with assertStringContainsString
1 parent 4e7bcf0 commit 9edb585

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PHPCR/Shell/Test/ContextBase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function iShouldSeeATableContainingTheFollowingRows(TableNode $table)
209209
public function iShouldSeeTheFollowing(PyStringNode $string)
210210
{
211211
$output = $this->getOutput();
212-
Assert::assertContains($string->getRaw(), $output);
212+
Assert::assertStringContainsString($string->getRaw(), $output);
213213
}
214214

215215
/**
@@ -305,7 +305,7 @@ public function theFileExists($arg1)
305305
public function theOutputShouldContain(PyStringNode $string)
306306
{
307307
foreach ($string->getStrings() as $line) {
308-
Assert::assertContains($line, $this->getOutput());
308+
Assert::assertStringContainsString($line, $this->getOutput());
309309
}
310310
}
311311

0 commit comments

Comments
 (0)