X-Git-Url: http://git.rot13.org/?p=virtual-ldap;a=blobdiff_plain;f=t%2Fkoha%2F02-create-test-user.t;h=afcb887cc8b099a095947975499a072c212a9be5;hp=3b60b967f4c8c8025bf85f1581effaa59469e99c;hb=de4af466676c72f0c57d1c3dab83a8ef07c92cda;hpb=e10c2a761e6c656aac558d6124e2c7fd03985f36 diff --git a/t/koha/02-create-test-user.t b/t/koha/02-create-test-user.t index 3b60b96..afcb887 100755 --- a/t/koha/02-create-test-user.t +++ b/t/koha/02-create-test-user.t @@ -20,9 +20,10 @@ sub save { print $fh @_; warn "# save $path ", -s $path, " bytes\n"; } - -$mech->get_ok( 'https://localhost', 'opac' ); +my $opac_url = $ENV{OPAC_URL} || 'http://ffzg.koha-dev.rot13.org'; + +$mech->get_ok( $opac_url, "opac $opac_url" ); save $mech->content; $mech->follow_link_ok({ url_regex => qr/opac-user/i }, 'login form' );