1 file changed
@@ -7,9 +7,7 @@ def test_enable_limit_access_to_this_project(gl, project): | |||
| 7 | 7 | ||
| 8 | 8 | scope.refresh() | |
| 9 | 9 | ||
| 10 | - # https://docs.gitlab.com/ee/api/project_job_token_scopes.html#get-a-projects-cicd-job-token-access-settings | ||
| 11 | - # suggests inbound_enabled True, means other projects have access, i.e. Limit Access to is OFF | ||
| 12 | - assert not scope.inbound_enabled | ||
| 10 | + assert scope.inbound_enabled | ||
| 13 | 11 | ||
| 14 | 12 | ||
| 15 | 13 | def test_disable_limit_access_to_this_project(gl, project): | |
@@ -20,9 +18,7 @@ def test_disable_limit_access_to_this_project(gl, project): | |||
| 20 | 18 | ||
| 21 | 19 | scope.refresh() | |
| 22 | 20 | ||
| 23 | - # https://docs.gitlab.com/ee/api/project_job_token_scopes.html#get-a-projects-cicd-job-token-access-settings | ||
| 24 | - # suggests inbound_enabled True, means other projects have access, i.e. Limit Access to is OFF | ||
| 25 | - assert scope.inbound_enabled | ||
| 21 | + assert not scope.inbound_enabled | ||
| 26 | 22 | ||
| 27 | 23 | ||
| 28 | 24 | def test_add_project_to_job_token_scope_allowlist(gl, project): | |
0 commit comments