Hi, I’m having another issues with unit testing.
I’m testing a view that's called through a console action. I get the following error: Use of undefined constant STDIN - assumed 'STDIN' Comes from: /home/vandaeko/Projecten/Thesaurus/libs/agavi/src/request/AgaviConsoleRequest.class.php:85 Seems to be a constant that's normally available in cli mode, but isn't when running unit tests. Just running the action works fine. Only the unit test fails. It even fails when just asserting that the view handles a certain output type. Encountering this on agavi trunk, php 5.3.5 and phpunit 3.6.5. Vriendelijke groeten, Koen Van Daele IT-verantwoordelijke [email protected]<mailto:[email protected]> tel. +32 2 553 16 82 fax. +32 2 553 16 55 Onroerend Erfgoed Koning Albert II-laan 19 bus 5 1210 Brussel www.onroerenderfgoed.be
_______________________________________________ users mailing list [email protected] http://lists.agavi.org/mailman/listinfo/users
