1 package TestConnection;
4 use aliased 'System::Introspector::Report::Publish::MediaWiki::Page';
6 extends 'System::Introspector::Report::Publish::MediaWiki::Connection';
9 my ($self, $name) = @_;
13 content => scalar(io("$ENV{TEST_SI_REPORT_IN}/$name.txt")->slurp),
18 my ($self, $page) = @_;
19 my $out = $ENV{TEST_SI_REPORT_OUT}
20 or die "No output directory";
21 io("$out/" . $page->name)->print($page->content);