ZF-2488: testFactoryThrowsOnBadName(Zend_Service_StrikeIron_StrikeIronTest) fails

Description

jmut@dexter:/storage/www/frameworks/zendframework/tests$ php Zend/Service/AllTests.php PHPUnit 3.2.11 by Sebastian Bergmann.

............S........................................S...... 60 / 165 .........................SSSF............................... 120 / 165 ............................................S

Time: 6 seconds

There was 1 failure:

1) testFactoryThrowsOnBadName(Zend_Service_StrikeIron_StrikeIronTest) Failed asserting that matches PCRE pattern "/not found/i". /storage/www/frameworks/zendframework/tests/Zend/Service/StrikeIron/StrikeIronTest.php:52 /storage/www/frameworks/zendframework/tests/Zend/Service/AllTests.php:111 /storage/www/frameworks/zendframework/tests/Zend/Service/AllTests.php:141

FAILURES! Tests: 165, Failures: 1, Skipped: 6.

RUNNING SYSTEM:

Kernel: 2.6.22.1

PHP 5.2.5 (cli) (built: Nov 10 2007 14:12:24)

with Xdebug v2.0.2, Copyright (c) 2002-2007, by Derick Rethans

Using ZF: rev 7623

PHPUnit 3.2.11

Slackware current

System:

./configure --prefix=/usr --enable-force-cgi-redirect --enable-fastcgi --enable-pcntl --enable-readline --enable-sigchild --prefix=/usr --sysconfdir=/etc --disable-safe-mode --enable-apc --enable-apc-mmap --enable-memory-limit --enable-suhosin --disable-magic-quotes --enable-zend-multibyte --enable-mbregex --enable-tokenizer=shared --with-config-file-scan-dir=/etc/php --with-config-file-path=/etc/httpd --with-mod_charset --with-layout=PHP --enable-sigchild --enable-xml --with-libxml-dir=/usr --enable-simplexml --enable-spl --enable-filter --disable-debug --with-openssl=shared --with-pcre-regex=/usr --with-zlib=shared,/usr --enable-bcmath=shared --with-bz2=shared,/usr --enable-calendar=shared --enable-ctype=shared --with-curl=shared --with-curlwrappers --enable-dba=shared --with-gdbm=/usr --with-db4=/usr --enable-dbase=shared --enable-exif=shared --enable-ftp=shared --with-gd=shared --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-xpm-dir=/usr --with-freetype-dir=/usr --with-t1lib=/usr --enable-gd-native-ttf --enable-gd-jis-conv --with-gettext=shared,/usr --with-gmp=shared,/usr --with-iconv=shared --with-imap-ssl=/usr --with-imap=/usr/local/lib/c-client --with-ldap=shared --enable-mbstring=shared --with-hash --with-mhash=shared,/usr --with-mysql=shared,/usr --with-mysqli=shared,/usr/bin/mysql_config --enable-pdo=shared --with-pdo-mysql=shared,/usr --with-pdo-sqlite=shared --with-pspell=shared,/usr --with-mm=/usr --enable-shmop=shared --with-snmp=shared,/usr --enable-soap=shared --enable-sockets --with-sqlite=shared --enable-sqlite-utf8 --with-regex=php --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-wddx=shared --with-xsl=shared,/usr --enable-zip=shared --with-tsrm-pthreads --enable-shared=yes --enable-static=no --with-gnu-ld --with-pic --build=i486-slackware-linux

Comments

Sorry can't help there, do not follow framework that close to propose as good solution. Happy coding.

Fixed in trunk with SVN r8539.

Fixed for 1.5.0RC2 with SVN r8541.