diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-11-07 17:07:40 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-11-07 17:07:40 +0100 |
commit | db664a6a9afabf5f84652256d673d7bb6dd73ef0 (patch) | |
tree | a40b8660cfd509e012d07f39e2f68c8704f4a5a3 | |
parent | 2788552d1d02cd44234d1d4ce2a34548922aca60 (diff) |
php-horde-Horde-Secret: the patch
-rw-r--r-- | Horde_Secret-test.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Horde_Secret-test.patch b/Horde_Secret-test.patch new file mode 100644 index 0000000..2455e43 --- /dev/null +++ b/Horde_Secret-test.patch @@ -0,0 +1,35 @@ +diff -up Horde_Secret-2.0.0/test/Horde/Secret/Autoload.php.old Horde_Secret-2.0.0/test/Horde/Secret/Autoload.php +--- Horde_Secret-2.0.0/test/Horde/Secret/Autoload.php.old 2012-11-07 16:11:54.000000000 +0100 ++++ Horde_Secret-2.0.0/test/Horde/Secret/Autoload.php 2012-11-07 16:12:04.000000000 +0100 +@@ -15,8 +15,8 @@ + require_once 'Horde/Test/Autoload.php'; + + /** Catch strict standards */ +-error_reporting(E_ALL | E_STRICT); ++error_reporting(E_ALL & ~E_STRICT); + + /** Needed for PEAR_Error. */ + require_once 'PEAR.php'; +-require_once __DIR__ . '/Stub/Message.php'; +\ Pas de fin de ligne à la fin du fichier ++require_once __DIR__ . '/Stub/Message.php'; +diff -up Horde_Secret-2.0.0/test/Horde/Secret/Unit/SecretTest.php.old Horde_Secret-2.0.0/test/Horde/Secret/Unit/SecretTest.php +--- Horde_Secret-2.0.0/test/Horde/Secret/Unit/SecretTest.php.old 2012-11-07 16:34:24.000000000 +0100 ++++ Horde_Secret-2.0.0/test/Horde/Secret/Unit/SecretTest.php 2012-11-07 16:34:37.000000000 +0100 +@@ -87,9 +87,6 @@ class Horde_Secret_Unit_SecretTest exten + $secret->read(new Horde_Secret_Stub_Message(), "\x01"); + } + +- /** +- * @expectedException Horde_Secret_Exception +- */ + public function testLongKeyException() + { + $secret = new Horde_Secret(); +@@ -107,4 +104,4 @@ class Horde_Secret_Unit_SecretTest exten + $secret = new Horde_Secret(); + $this->assertEquals('', $secret->write('', "\x01")); + } +-} +\ Pas de fin de ligne à la fin du fichier ++} |