/[virtual-ldap]/t/koha/02-create-test-user.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /t/koha/02-create-test-user.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 105 by dpavlin, Tue Nov 16 18:07:05 2010 UTC revision 106 by dpavlin, Thu Jul 14 20:23:45 2011 UTC
# Line 20  sub save { Line 20  sub save {
20          print $fh @_;          print $fh @_;
21          warn "# save $path ", -s $path, " bytes\n";          warn "# save $path ", -s $path, " bytes\n";
22  }  }
           
23    
24  $mech->get_ok( 'https://localhost', 'opac' );  my $opac_url = $ENV{OPAC_URL} || 'http://ffzg.koha-dev.rot13.org';
25    
26    $mech->get_ok( $opac_url, "opac $opac_url" );
27  save $mech->content;  save $mech->content;
28    
29  $mech->follow_link_ok({ url_regex => qr/opac-user/i }, 'login form' );  $mech->follow_link_ok({ url_regex => qr/opac-user/i }, 'login form' );

Legend:
Removed from v.105  
changed lines
  Added in v.106

  ViewVC Help
Powered by ViewVC 1.1.26