]> sipb.mit.edu Git - ikiwiki.git/blobdiff - t/apache404.t
Split apache404 into an independent plugin
[ikiwiki.git] / t / apache404.t
similarity index 85%
rename from t/cgi_page_from_404.t
rename to t/apache404.t
index adbbdf8742b16141c9b752b4f023bf8db5a5dba4..00fc3525004fd1e2fc063b26bc4f5c4146fa6271 100755 (executable)
@@ -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';