Improve #1723 test
This commit is contained in:
parent
c7dd179f2c
commit
44e472f0f5
|
@ -228,11 +228,11 @@ ok(
|
||||||
$res = $sp->_post(
|
$res = $sp->_post(
|
||||||
'/', IO::String->new('user=dwho&password=xxxx'),
|
'/', IO::String->new('user=dwho&password=xxxx'),
|
||||||
length => 23,
|
length => 23,
|
||||||
accept => 'text/html'
|
|
||||||
),
|
),
|
||||||
'Post user/password'
|
'Post user/password'
|
||||||
);
|
);
|
||||||
count(1);
|
count(1);
|
||||||
|
expectReject($res);
|
||||||
|
|
||||||
clean_sessions();
|
clean_sessions();
|
||||||
done_testing( count() );
|
done_testing( count() );
|
||||||
|
|
Loading…
Reference in New Issue
Block a user