Skip to content

Commit

Permalink
Merge pull request #97 from nextcloud/fix/new-ip-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Altahrim authored Mar 20, 2024
2 parents b4f133b + 7ad3917 commit 27ddc01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/features/Login.feature
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Feature: Login
And the response URL should be "http://localhost:8080/remote.php/webdav/"

Scenario: Authenticating with whitelisted IP via Web
Given The range "127.0.0.0/24" is permitted
Given The range "10.0.0.0/8,127.0.0.0/24" is permitted
When I try to login via "web"
Then the response status code should be "200"

Expand All @@ -23,6 +23,6 @@ Feature: Login
Then the response status code should be "200"

Scenario: Authenticating with multiple whitelisted IP via API
Given The range "192.168.0.0/24,127.0.0.0/24,192.168.1.0/24" is permitted
Given The range "192.168.0.0/24,10.0.0.0/8,127.0.0.0/24,192.168.1.0/24" is permitted
When I try to login via "api"
Then the response status code should be "200"

0 comments on commit 27ddc01

Please sign in to comment.