phpunit failure details

geppy

Joined: 2005-03-28
Posts: 1
Posted: Mon, 2005-03-28 09:05

<TYPE YOUR MESSAGE HERE, ENTER SYSTEM DETAILS BELOW>
<Please check the G2 FAQ (sticky topic in this forum) before posting!>
----

Gallery URL (optional): 67.162.233.164/gallery2/
Gallery version: Nightly - gallery2.2005-03-27-09-36-00
Webserver (with version): Apache 2.0.53
Datatabase (with version): MySQL 4.0.23
PHP version (eg 4.2.1): 4.3.10
phpinfo URL (optional):
Graphics Toolkit(s): GD, ffmpeg, imagemagick, NetPBM
Operating system: Ubuntu Linux (Hoary, latest)
Web browser/version: Mozilla Firefox 0.9.3 (backported)
G1 version (for migration bugs): n/a

1. testcodeaudit
* Yay! We are down to 0 lines longer than 100 characters; update the failure thresholds in this unit test.
2. testmissingextension
* PHP ERROR: Invalid argument supplied for foreach()in /var/www/gallery2/modules/mime/MimeEdit.inc at line 53
in /var/www/gallery2/lib/tools/phpunit/GalleryControllerTestCase.class (mimeeditcontroller::handlerequest) at line 64
in /var/www/gallery2/modules/mime/test/phpunit/MimeEditControllerTest.class (mimeeditcontrollertest::handlerequest) at line 126
in /var/www/gallery2/lib/tools/phpunit/phpunit.inc (mimeeditcontrollertest::testmissingextension) at line 281
in /var/www/gallery2/lib/tools/phpunit/phpunit.inc (mimeeditcontrollertest::runtest) at line 369
in /var/www/gallery2/lib/tools/phpunit/phpunit.inc (mimeeditcontrollertest::runbare) at line 540
in /var/www/gallery2/lib/tools/phpunit/phpunit.inc (prettytestresult::run) at line 247
in /var/www/gallery2/lib/tools/phpunit/phpunit.inc (mimeeditcontrollertest::run) at line 451
in /var/www/gallery2/lib/tools/phpunit/phpunit.inc (testsuite::run) at line 451
in /var/www/gallery2/lib/tools/phpunit/index.tpl (testsuite::run) at line 194
in /var/www/gallery2/lib/tools/phpunit/index.php at line 190
3. testmissingeverything
* PHP ERROR: Invalid argument supplied for foreach()in /var/www/gallery2/modules/mime/MimeEdit.inc at line 53
in /var/www/gallery2/lib/tools/phpunit/GalleryControllerTestCase.class (mimeeditcontroller::handlerequest) at line 64
in /var/www/gallery2/modules/mime/test/phpunit/MimeEditControllerTest.class (mimeeditcontrollertest::handlerequest) at line 138
in /var/www/gallery2/lib/tools/phpunit/phpunit.inc (mimeeditcontrollertest::testmissingeverything) at line 281
in /var/www/gallery2/lib/tools/phpunit/phpunit.inc (mimeeditcontrollertest::runtest) at line 369
in /var/www/gallery2/lib/tools/phpunit/phpunit.inc (mimeeditcontrollertest::runbare) at line 540
in /var/www/gallery2/lib/tools/phpunit/phpunit.inc (prettytestresult::run) at line 247
in /var/www/gallery2/lib/tools/phpunit/phpunit.inc (mimeeditcontrollertest::run) at line 451
in /var/www/gallery2/lib/tools/phpunit/phpunit.inc (testsuite::run) at line 451
in /var/www/gallery2/lib/tools/phpunit/index.tpl (testsuite::run) at line 194
in /var/www/gallery2/lib/tools/phpunit/index.php at line 190

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-03-28 16:59

mime tests fixed.