Improve unit test (#1628)
This commit is contained in:
parent
37cb923422
commit
29b293395a
|
@ -56,6 +56,12 @@ ok(
|
|||
'dwho rejected with PE_BADCREDENTIALS'
|
||||
) or print STDERR Dumper( $res->[2]->[0] );
|
||||
count(1);
|
||||
ok(
|
||||
$res->[2]->[0] =~ m%<span trspan="goToPortal">Go to portal</span>%,
|
||||
'Found goToPortal button'
|
||||
) or print STDERR Dumper( $res->[2]->[0] );
|
||||
count(1);
|
||||
|
||||
|
||||
ok(
|
||||
$res = $client->_post(
|
||||
|
@ -123,6 +129,11 @@ ok(
|
|||
'rtyler rejected with PE_BADCREDENTIALS'
|
||||
) or print STDERR Dumper( $res->[2]->[0] );
|
||||
count(1);
|
||||
ok(
|
||||
$res->[2]->[0] =~ m%<span trspan="goToPortal">Go to portal</span>%,
|
||||
'Found goToPortal button'
|
||||
) or print STDERR Dumper( $res->[2]->[0] );
|
||||
count(1);
|
||||
|
||||
ok( $res->[2]->[0] =~ qr%<img src="/static/common/logos/logo_llng_old.png"%,
|
||||
'Found custom Main Logo' )
|
||||
|
|
Loading…
Reference in New Issue
Block a user