Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-04 15:11:22 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-04 15:11:22 +0300
commit39e07b68051f93f95d11b8607dfaa8ae87458bb7 (patch)
treeda662669a0061282555dfe646367c11614eeb1ec /spec/requests
parent13f31ab91aeb5233a7b64f2740fee246294161fc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests')
-rw-r--r--spec/requests/api/personal_access_tokens_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/personal_access_tokens_spec.rb b/spec/requests/api/personal_access_tokens_spec.rb
index f261e7db024..8d8998cfdd6 100644
--- a/spec/requests/api/personal_access_tokens_spec.rb
+++ b/spec/requests/api/personal_access_tokens_spec.rb
@@ -100,7 +100,7 @@ RSpec.describe API::PersonalAccessTokens do
it 'fails to return PAT because no PAT exists with this id' do
get api(invalid_path, admin_user)
- expect(response).to have_gitlab_http_status(:unauthorized)
+ expect(response).to have_gitlab_http_status(:not_found)
end
end