fix admintoggle tests
This commit is contained in:
parent
85e218f62f
commit
d34377e45d
2 changed files with 7 additions and 48 deletions
|
|
@ -28,7 +28,7 @@ my @getRefererUrlTests = (
|
|||
comment => 'getRefererUrl returns the url minus the gateway',
|
||||
},
|
||||
{
|
||||
input => 'http://www.domain.com/myUrl.html?op=switchAdminOn',
|
||||
input => 'http://www.domain.com/myUrl.html?op=admin',
|
||||
output => 'myUrl.html',
|
||||
comment => 'getRefererUrl returns the url minus the gateway',
|
||||
},
|
||||
|
|
@ -50,7 +50,7 @@ my @getRefererUrlTests = (
|
|||
);
|
||||
|
||||
use Test::More;
|
||||
plan tests => 82 + scalar(@getRefererUrlTests);
|
||||
plan tests => 83 + scalar(@getRefererUrlTests);
|
||||
|
||||
my $session = WebGUI::Test->session;
|
||||
my $request = $session->request;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue