Fixed Apache tests so they don't prompt for config information
Andy Grundman [Tue, 18 Oct 2005 16:18:34 +0000 (16:18 +0000)]
t/optional/apache-cgi.pl
t/optional/apache-fastcgi.pl

index 3c0a4de..0eac65c 100755 (executable)
@@ -30,8 +30,7 @@ File::Copy::Recursive::dircopy( 't/live/lib', 't/var/TestApp/lib' );
 # remove TestApp's tests so Apache::Test doesn't try to run them
 rmtree 't/var/TestApp/t';
 
-my $cfg  = Apache::Test::config();
-$ENV{CATALYST_SERVER} = 'http://' . $cfg->hostport . '/cgi';
+$ENV{CATALYST_SERVER} = 'http://localhost:8529/cgi';
 
 Apache::TestRun->new->run(@ARGV);
 
index 213293b..a4c2a52 100755 (executable)
@@ -30,8 +30,7 @@ File::Copy::Recursive::dircopy( 't/live/lib', 't/var/TestApp/lib' );
 # remove TestApp's tests so Apache::Test doesn't try to run them
 rmtree 't/var/TestApp/t';
 
-my $cfg  = Apache::Test::config();
-$ENV{CATALYST_SERVER} = 'http://' . $cfg->hostport . '/fastcgi';
+$ENV{CATALYST_SERVER} = 'http://localhost:8529/fastcgi';
 
 Apache::TestRun->new->run(@ARGV);