diff --git a/tests/PhpcrUtils/CndParserTest.php b/tests/PhpcrUtils/CndParserTest.php index 95e52ab1..e4e1792f 100644 --- a/tests/PhpcrUtils/CndParserTest.php +++ b/tests/PhpcrUtils/CndParserTest.php @@ -111,14 +111,6 @@ public function testErrorNoFile() */ public function testScannerErrorComment() { - /** - * Remove this PHP7 only condition after PHPCR-Utils #168 - * (https://github.com/phpcr/phpcr-utils/issues/168) is closed - */ - if (PHP_MAJOR_VERSION >= 7) { - $this->markTestSkipped(); - } - $this->expectException(ScannerException::class); $cnd = <<sameNode('file', '/home node'), [], [] - ); + ) + ; /* * 6.7.21. ChildNode