X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2Fstemmaweb.git;a=blobdiff_plain;f=t%2F04login.t;h=2b9849f09294d28918dd5858c6c932d48b474778;hp=59043c68a6eced2e60495c7c0fef8c8f302a54eb;hb=325d9f4176bba1c6811c031a75be3ef5eced7c94;hpb=fb45a11f36674bff7cdff20f383fddfdfc4298b7 diff --git a/t/04login.t b/t/04login.t index 59043c6..2b9849f 100644 --- a/t/04login.t +++ b/t/04login.t @@ -10,9 +10,11 @@ use HTML::TreeBuilder; use Data::Dumper; use FindBin; +use lib ("$FindBin::Bin/lib"); -use IPC::System::Simple qw(system); -system("$FindBin::Bin/../script/maketestdb.pl"); +use stemmaweb::Test::DB; + +stemmaweb::Test::DB->new_db; LWP::Protocol::PSGI->register(stemmaweb->psgi_app);