|
Lines 132-138
SKIP: {
Link Here
|
| 132 |
# Check with a script that is using check_cookie_auth, session must not be deleted! |
132 |
# Check with a script that is using check_cookie_auth, session must not be deleted! |
| 133 |
$driver->get( $s->base_url . q|svc/checkouts| ); |
133 |
$driver->get( $s->base_url . q|svc/checkouts| ); |
| 134 |
#FIXME - 500 is the current behaviour, but it's not nice. It could be improved. |
134 |
#FIXME - 500 is the current behaviour, but it's not nice. It could be improved. |
| 135 |
like( $driver->get_title, qr(Error 500), 'Patron cannot access svc script where circulate permissions are required'); |
135 |
like( $driver->get_title, qr(An Error Occurred), 'Patron cannot access svc script where circulate permissions are required'); |
| 136 |
$driver->get( $s->base_url . q|catalogue/search.pl| ); |
136 |
$driver->get( $s->base_url . q|catalogue/search.pl| ); |
| 137 |
like( $driver->get_title, qr(Advanced search), 'Patron can reuse the cookie after a script that used check_cookie_auth' ); |
137 |
like( $driver->get_title, qr(Advanced search), 'Patron can reuse the cookie after a script that used check_cookie_auth' ); |
| 138 |
$cookie = $driver->get_cookie_named('CGISESSID'); |
138 |
$cookie = $driver->get_cookie_named('CGISESSID'); |
| 139 |
- |
|
|