summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rwxr-xr-xt/apache404.t (renamed from t/cgi_page_from_404.t)10
1 files changed, 6 insertions, 4 deletions
diff --git a/t/cgi_page_from_404.t b/t/apache404.t
index adbbdf874..00fc35250 100755
--- a/t/cgi_page_from_404.t
+++ b/t/apache404.t
@@ -1,12 +1,14 @@
#!/usr/bin/perl
use warnings;
use strict;
-use Test::More tests => 18;
+use Test::More tests => 17;
-BEGIN { use_ok("IkiWiki"); }
-BEGIN { use_ok("IkiWiki::CGI"); }
+BEGIN { use_ok("IkiWiki::Plugin::apache404"); }
-sub cgi_page_from_404 { return IkiWiki::cgi_page_from_404(shift, shift, shift); }
+sub cgi_page_from_404 {
+ return IkiWiki::Plugin::apache404::cgi_page_from_404(shift, shift,
+ shift);
+}
$IkiWiki::config{htmlext} = 'html';