File: 1010_phpunit-8.x%2B9.x.patch

package info (click to toggle)
php-horde-idna 1.1.2-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 188 kB
  • sloc: php: 426; xml: 221; sh: 3; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 819 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Adapt to PHPUnit 8.x and 9.x API.
Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Index: php-horde-idna/Horde_Idna-1.1.2/test/Horde/Idna/phpunit.xml
===================================================================
--- /dev/null
+++ php-horde-idna/Horde_Idna-1.1.2/test/Horde/Idna/phpunit.xml
@@ -0,0 +1 @@
+<phpunit bootstrap="bootstrap.php"></phpunit>
Index: php-horde-idna/Horde_Idna-1.1.2/test/Horde/Idna/IdnaTest.php
===================================================================
--- php-horde-idna.orig/Horde_Idna-1.1.2/test/Horde/Idna/IdnaTest.php
+++ php-horde-idna/Horde_Idna-1.1.2/test/Horde/Idna/IdnaTest.php
@@ -1,5 +1,5 @@
 <?php
-class IdnaTest extends \PHPUnit_Framework_TestCase
+class IdnaTest extends Horde_Test_Case 
 {
     /**
      * @dataProvider domainNamesProvider