Lines 59-65
SKIP: {
Link Here
|
59 |
$driver->get($mainpage . q|?logout.x=1|); |
59 |
$driver->get($mainpage . q|?logout.x=1|); |
60 |
$patron->flags(4)->store; # catalogue permission |
60 |
$patron->flags(4)->store; # catalogue permission |
61 |
$s->auth( $patron->userid, $password ); |
61 |
$s->auth( $patron->userid, $password ); |
62 |
like( $driver->get_title, qr(Koha staff interface), 'Patron with flags catalogue should be able to login' ); |
62 |
like( $driver->get_title, qr(Koha staff client), 'Patron with flags catalogue should be able to login' ); |
63 |
|
63 |
|
64 |
$driver->get($mainpage . q|?logout.x=1|); |
64 |
$driver->get($mainpage . q|?logout.x=1|); |
65 |
like( $driver->get_title(), qr(Log in to Koha), 'If logout is requested, login form should be displayed' ); |
65 |
like( $driver->get_title(), qr(Log in to Koha), 'If logout is requested, login form should be displayed' ); |
66 |
- |
|
|