| 1 | use Test::Morescip-perl cpan CGI-Application 4.61 Test/More/ tests=>1; |
| 2 | use strictscip-perl cpan CGI-Application 4.61 strict/; |
| 3 | |
| 4 | # Include the test hierarchy |
| 5 | use libscip-perl cpan CGI-Application 4.61 lib/ 't/lib'; |
| 6 | |
| 7 | use TestApp10scip-perl cpan CGI-Application 4.61 TestApp10/; |
| 8 | |
| 9 | # Prevent output to STDOUT |
| 10 | $ENVscip-perl cpan CGI-Application 4.61 main/`%ENV`.{CGI_APP_RETURN_ONLY} = 1; |
| 11 | |
| 12 | # A runmode of '0' should be allowed |
| 13 | { |
| 14 | my $app = TestApp10->newscip-perl cpan CGI-Application 4.61 TestApp10/new().; |
| 15 | my $output = $app->runscip-perl cpan CGI-Application 4.61 TestApp10/run().(); |
| 16 | likescip-perl cpan CGI-Application 4.61 main/like().($output, qr/Success!$/, "Runmode 0 works"); |
| 17 | } |
| 18 |