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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
From: Mathieu Parent <math.parent@gmail.com>
Date: Sun, 17 Dec 2017 16:52:14 +0100
Bug-Debian: https://bugs.debian.org/882891
Subject: Remove GET and POST sections in tests to fix FTBFS on recent phpunit
(Closes: #882891)
--- a/DB-1.11.0/tests/db_error.phpt
+++ b/DB-1.11.0/tests/db_error.phpt
@@ -57,10 +57,8 @@
$e = new DB_Error(DB_ERROR_SYNTAX, PEAR_ERROR_TRIGGER, E_USER_NOTICE);
$e = new DB_Error(DB_ERROR_SYNTAX, PEAR_ERROR_TRIGGER, E_USER_WARNING);
$e = new DB_Error(DB_ERROR_SYNTAX, PEAR_ERROR_TRIGGER, E_USER_ERROR);
?>
---GET--
---POST--
--EXPECT--
testing different error codes...
[db_error: message="db error: unknown error" code=-1 mode=return level=notice prefix="" info=""]
[db_error: message="db error: test error" code=-1 mode=return level=notice prefix="" info=""]
--- a/DB-1.11.0/tests/db_factory.phpt
+++ b/DB-1.11.0/tests/db_factory.phpt
@@ -34,10 +34,8 @@
}
}
?>
---GET--
---POST--
--EXPECT--
testing dbase: object: db_dbase: (phptype=dbase, dbsyntax=dbase)
testing fbsql: object: db_fbsql: (phptype=fbsql, dbsyntax=fbsql)
testing ibase: object: db_ibase: (phptype=ibase, dbsyntax=ibase)
--- a/DB-1.11.0/tests/db_ismanip.phpt
+++ b/DB-1.11.0/tests/db_ismanip.phpt
@@ -34,10 +34,8 @@
test("ALTER TABLE foo ADD COLUMN (bar INTEGER)");
test(" SELECT * FROM table");
test(" DELETE FROM table");
?>
---GET--
---POST--
--EXPECT--
testing DB::isManip...
SELECT : 0
Select : 0
--- a/DB-1.11.0/tests/db_parsedsn.phpt
+++ b/DB-1.11.0/tests/db_parsedsn.phpt
@@ -79,10 +79,8 @@
);
testArray($array);
?>
---GET--
---POST--
--EXPECT--
testing DB::parseDSN...
DSN: mysql
|