From 5b0b2bd4647411e7d388c09e215927f5dc035423 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 23 Feb 2010 18:59:42 +0000 Subject: [PATCH] added logout --- t/koha/02-create-test-user.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/t/koha/02-create-test-user.t b/t/koha/02-create-test-user.t index 62df482..3eaa708 100755 --- a/t/koha/02-create-test-user.t +++ b/t/koha/02-create-test-user.t @@ -3,7 +3,7 @@ use warnings; use strict; -use Test::More tests => 3; +use Test::More tests => 4; use Test::WWW::Mechanize; use File::Slurp; @@ -33,3 +33,4 @@ $mech->submit_form_ok({ }, 'login'); save $mech->content; +$mech->follow_link_ok({ url_regex => qr/logout/ }, 'logout' ); -- 2.20.1