Skip to content

Commit 60f0fe9

Browse files
committed
Use assertNotContains
1 parent c41d985 commit 60f0fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PHPCR/Tests/Util/NodeHelperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function testGenerateAutoNodeName($hint, $expect)
6767
{
6868
$result = NodeHelper::generateAutoNodeName($this->usedNames, $this->namespaces, 'a', $hint);
6969
if (true === $expect) {
70-
$this->assertFalse(strpos($result, ':'));
70+
$this->assertNotContains(':', $result);
7171
} else {
7272
$this->assertEquals($expect, substr($result, 0, strlen($expect)));
7373
}

0 commit comments

Comments
 (0)