[Tickets #11667] Horde_Secret : broken test

bugs at horde.org bugs at horde.org
Wed Nov 7 15:40:08 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11667
------------------------------------------------------------------------------
  Ticket             | 11667
  Created By         | remi at famillecollet.com
  Summary            | Horde_Secret : broken test
  Queue              | Horde Framework Packages
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


remi at famillecollet.com (2012-11-07 15:40) wrote:

Runnin the unit tests with PHP 5.4 raised a lots of message.
Non-static method PEAR::raiseError() should not be called statically, ...

There was 1 failure:
1) Horde_Secret_Unit_SecretTest::testLongKeyException
Failed asserting that exception of type "Horde_Secret_Exception" is thrown.

According to Bug #11566, key > 56 is no more an isue
Fixed in  
http://git.horde.org/commit.php/?rt=horde-git&commit=def22bd5e48fd39d1aa26c02af526fe5794d3890

So the testLongKeyException doesn't thrown any exception.


Attached path fixes both.




remi at famillecollet.com (2012-11-07 15:40) uploaded: Horde_Secret-test.patch

http://bugs.horde.org/h/services/download/?module=whups&actionID=download_file&file=Horde_Secret-test.patch&ticket=11667&fn=%2FHorde_Secret-test.patch





More information about the bugs mailing list