Skip to content

Commit

Permalink
Test improvements to work around #60
Browse files Browse the repository at this point in the history
  • Loading branch information
SysPete committed Oct 27, 2016
1 parent 7392fc3 commit 3533e50
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/Dancer2/Plugin/Auth/Extensible/Test.pm
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,9 @@ sub _test_base {
or diag explain $trap->read;
}
}

# cleanup
get('/logout');
}

# create_user
Expand All @@ -829,6 +832,7 @@ sub _test_create_user {

note "test create_user";

#for my $realm (qw/config1 config2/) {
for my $realm (qw/config1 config2/) {

# First create a user
Expand Down Expand Up @@ -867,7 +871,9 @@ sub _test_create_user {
message => "$realm accepted user newuser"
}
),
"... and we see expected message in logs." or diag explain $logs;
"... and we see expected message in logs." or diag explain $res;

get('/logout');
}

}
Expand Down

0 comments on commit 3533e50

Please sign in to comment.