Issues

ZF-4524: Zend_Filter_InputTest testNamespaceExceptionClassNotFound

Issue Type: Unit Tests: Problem Created: 2008-10-08T11:11:48.000+0000 Last Updated: 2008-10-10T14:41:45.000+0000 Status: Resolved Fix version(s): - 1.6.2 (13/Oct/08)

Reporter: Andries Seutens (andries) Assignee: Andries Seutens (andries) Tags: - Zend_Filter_Input

Related issues: Attachments:

Description

The testcase "testNamespaceExceptionClassNotFound", in Zend_Filter_InputTest makes the wrong assertion. Currently, when the namespace is omitted on purpose, an assertion is made that the exception should equal the string "Plugin by name MyDigits was not found in the registry".

However, the exception message also returns in which paths has been searched to find the plugin. Thus the assertion should be changed to an "assertContains" instead of "assertEquals".

Comments

Posted by Andries Seutens (andries) on 2008-10-08T11:54:07.000+0000

Fixed in svn r11748

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts