1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Sat, 18 May 2024 09:18:59 +0200
Subject: Exclude test failing with recent PHPUnit (11)
Debian-Bug: https://bugs.debian.org/1070582
---
test/ParsedownTest.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/test/ParsedownTest.php b/test/ParsedownTest.php
index 284f5e9..9cf7143 100644
--- a/test/ParsedownTest.php
+++ b/test/ParsedownTest.php
@@ -2,6 +2,7 @@
require 'SampleExtensions.php';
+use PHPUnit\Framework\Attributes\RequiresPhpunit;
use PHPUnit\Framework\TestCase;
class ParsedownTest extends TestCase
@@ -41,6 +42,7 @@ class ParsedownTest extends TestCase
* @param $test
* @param $dir
*/
+ #[RequiresPhpunit('< 11')]
function test_($test, $dir)
{
$markdown = file_get_contents($dir . $test . '.md');
|