Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eduGAIN Access Check - Account manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
edugain
eduGAIN Access Check - Account manager
Commits
eefaf82e
Commit
eefaf82e
authored
3 years ago
by
Guillaume ROUSSE
Browse files
Options
Downloads
Patches
Plain Diff
useless parameter
parent
b24e3d0d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
t/app.t
+7
-7
7 additions, 7 deletions
t/app.t
with
7 additions
and
7 deletions
t/app.t
+
7
−
7
View file @
eefaf82e
...
...
@@ -193,7 +193,7 @@ named_subtest "SP selection page" => sub {
named_subtest
"
email selection page, missing entityid
"
=>
sub
{
my
$t
=
get_test_object
(
test
=>
$_
[
0
]);
$t
->
get_ok
('
/step2
'
=>
form
=>
{
federation
=>
'
edugain
'}
)
$t
->
get_ok
('
/step2
')
->
status_is
(
200
)
->
text_is
('
html head title
'
=>
'
eduGAIN Access Check
',
'
expected title
')
->
content_like
(
qr/Error:[\n\s]+missing parameter 'entityid'/
,
'
expected error message
');
...
...
@@ -205,7 +205,7 @@ named_subtest "email selection page, missing entityid" => sub {
named_subtest
"
email selection page, invalid entityid
"
=>
sub
{
my
$t
=
get_test_object
(
test
=>
$_
[
0
]);
$t
->
get_ok
('
/step2
'
=>
form
=>
{
federation
=>
'
edugain
',
entityid
=>
'
foo
'})
$t
->
get_ok
('
/step2
'
=>
form
=>
{
entityid
=>
'
foo
'})
->
status_is
(
200
)
->
text_is
('
html head title
'
=>
'
eduGAIN Access Check
',
'
expected title
')
->
content_like
(
qr/Error:[\n\s]+invalid parameter 'entityid'/
,
'
expected error message
');
...
...
@@ -217,7 +217,7 @@ named_subtest "email selection page, invalid entityid" => sub {
named_subtest
"
email selection page, valid entityid
"
=>
sub
{
my
$t
=
get_test_object
(
test
=>
$_
[
0
]);
$t
->
get_ok
('
/step2
'
=>
form
=>
{
federation
=>
'
edugain
',
entityid
=>
'
https://sp.renater.fr/
'})
$t
->
get_ok
('
/step2
'
=>
form
=>
{
entityid
=>
'
https://sp.renater.fr/
'})
->
status_is
(
200
)
->
text_is
('
html head title
'
=>
'
eduGAIN Access Check
',
'
expected title
')
->
element_exists
('
input[name=email][value=contact1@renater.fr]
',
'
email selection widget
');
...
...
@@ -229,7 +229,7 @@ named_subtest "email selection page, valid entityid" => sub {
named_subtest
"
challenge page, missing entityid
"
=>
sub
{
my
$t
=
get_test_object
(
test
=>
$_
[
0
]);
$t
->
get_ok
('
/step3
'
=>
form
=>
{
federation
=>
'
edugain
'}
)
$t
->
get_ok
('
/step3
')
->
status_is
(
200
)
->
text_is
('
html head title
'
=>
'
eduGAIN Access Check
',
'
expected title
')
->
content_like
(
qr/Error:[\n\s]+missing parameter 'entityid'/
,
'
expected error message
');
...
...
@@ -241,7 +241,7 @@ named_subtest "challenge page, missing entityid" => sub {
named_subtest
"
challenge page, invalid entityid
"
=>
sub
{
my
$t
=
get_test_object
(
test
=>
$_
[
0
]);
$t
->
get_ok
('
/step3
'
=>
form
=>
{
federation
=>
'
edugain
',
entityid
=>
'
foo
'})
$t
->
get_ok
('
/step3
'
=>
form
=>
{
entityid
=>
'
foo
'})
->
status_is
(
200
)
->
text_is
('
html head title
'
=>
'
eduGAIN Access Check
',
'
expected title
')
->
content_like
(
qr/Error:[\n\s]+invalid parameter 'entityid'/
,
'
expected error message
');
...
...
@@ -253,7 +253,7 @@ named_subtest "challenge page, invalid entityid" => sub {
named_subtest
"
challenge page, valid entityid, missing email
"
=>
sub
{
my
$t
=
get_test_object
(
test
=>
$_
[
0
]);
$t
->
get_ok
('
/step3
'
=>
form
=>
{
federation
=>
'
edugain
',
entityid
=>
'
https://sp.renater.fr/
'})
$t
->
get_ok
('
/step3
'
=>
form
=>
{
entityid
=>
'
https://sp.renater.fr/
'})
->
status_is
(
200
)
->
text_is
('
html head title
'
=>
'
eduGAIN Access Check
',
'
expected title
')
->
content_like
(
qr/Error:[\n\s]+missing parameter 'email'/
,
'
expected error message
');
...
...
@@ -265,7 +265,7 @@ named_subtest "challenge page, valid entityid, missing email" => sub {
named_subtest
"
challenge page, valid entityid, invalid email
"
=>
sub
{
my
$t
=
get_test_object
(
test
=>
$_
[
0
]);
$t
->
get_ok
('
/step3
'
=>
form
=>
{
federation
=>
'
edugain
',
entityid
=>
'
https://sp.renater.fr/
',
email
=>
'
foo
'})
$t
->
get_ok
('
/step3
'
=>
form
=>
{
entityid
=>
'
https://sp.renater.fr/
',
email
=>
'
foo
'})
->
status_is
(
200
)
->
text_is
('
html head title
'
=>
'
eduGAIN Access Check
',
'
expected title
')
->
content_like
(
qr/Error:[\n\s]+invalid parameter 'email'/
,
'
expected error message
');
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment