Skip to content

Commit acaa41f

Browse files
committed
Merge branch 'release-3.x' into feature/dom-migration-php84
2 parents a9a2d9c + 0331ab5 commit acaa41f

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

tests/XML/Assert/StringTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ public static function provideString(): array
4545
'preserve spaces' => [true, ' Snoopy '],
4646
'replace whitespace' => [true, " Snoopy\t\n\rrulez "],
4747
'html' => [true, "<em>SimpleSAMLphp</em>"],
48-
'unicode' => [true, 'ünïcöde €Φ汉'],
48+
// Fails due to a known bug in the PCRE-library
49+
// See: https://github.com/php/php-src/issues/22361
50+
// 'unicode' => [true, 'ünïcöde €Φ汉'],
4951
'invalid character' => [false, "Valid text with " . chr(0) . " invalid null byte"],
5052
];
5153
}

tests/XMLSchema/Type/Helper/XPathValueTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44

55
namespace SimpleSAML\Test\XMLSchema\Type\Builtin;
66

7+
<<<<<<< HEAD
78
use Error;
9+
=======
10+
>>>>>>> release-3.x
811
use PHPUnit\Framework\Attributes\CoversClass;
912
use PHPUnit\Framework\Attributes\DataProvider;
1013
use PHPUnit\Framework\TestCase;
@@ -29,7 +32,11 @@ public function testString(bool $shouldPass, string $xpath): void
2932
try {
3033
$value = XPathValue::fromString($xpath);
3134
$this->assertTrue($shouldPass);
35+
<<<<<<< HEAD
3236
} catch (Error) {
37+
=======
38+
} catch (AssertionFailedException $e) {
39+
>>>>>>> release-3.x
3340
$this->assertFalse($shouldPass);
3441
}
3542
}

0 commit comments

Comments
 (0)