Change the URL in the test to a page that actually exists.
Patch by kareila.
diffs (24 lines):
diff -r 8bdc021088c3 -r 717d27477813 t/atom-post.t
--- a/t/atom-post.t Thu Dec 09 19:12:51 2010 +0800
+++ b/t/atom-post.t Thu Dec 09 19:15:30 2010 +0800
@@ -11,7 +11,7 @@ use XML::Atom::Entry;
use XML::Atom::Entry;
use LWP::Simple;
-if (get("$LJ::SITEROOT/dev/t_00.bml") =~ /BML file/) {
+if ( get( "$LJ::SITEROOT/admin/healthy" ) =~ /^status=/ ) {
plan tests => 5;
} else {
plan skip_all => "Webserver not running.";
diff -r 8bdc021088c3 -r 717d27477813 t/webreq.t
--- a/t/webreq.t Thu Dec 09 19:12:51 2010 +0800
+++ b/t/webreq.t Thu Dec 09 19:15:30 2010 +0800
@@ -18,7 +18,7 @@ diag($LJ::DOMAIN_WEB);
diag($LJ::DOMAIN_WEB);
my $req = $fa->new_request(
- uri => "/dev/t_00.bml",
+ uri => "/admin/healthy",
headers => {
host => $LJ::DOMAIN_WEB,
},
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog