diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-08 03:08:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-08 03:08:05 +0300 |
commit | ca412911f38be22bd3ebe7f7ec4e553314a055c5 (patch) | |
tree | af44262c9bfb239e913cd18b6fbfed1ea3ec3b85 /spec/requests | |
parent | 557e0c82504248a44bcbce32b93dc432929fe2ca (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/requests')
-rw-r--r-- | spec/requests/api/admin/instance_clusters_spec.rb | 2 | ||||
-rw-r--r-- | spec/requests/api/group_clusters_spec.rb | 2 | ||||
-rw-r--r-- | spec/requests/api/project_clusters_spec.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/requests/api/admin/instance_clusters_spec.rb b/spec/requests/api/admin/instance_clusters_spec.rb index f2e62533b78..6fad020150c 100644 --- a/spec/requests/api/admin/instance_clusters_spec.rb +++ b/spec/requests/api/admin/instance_clusters_spec.rb @@ -363,7 +363,7 @@ RSpec.describe ::API::Admin::InstanceClusters, feature_category: :deployment_man end it 'returns validation error' do - expect(json_response['message']['platform_kubernetes.base'].first).to eq(_('Cannot modify managed Kubernetes cluster')) + expect(json_response['message']['platform_kubernetes'].first).to eq(_('Cannot modify managed Kubernetes cluster')) end end diff --git a/spec/requests/api/group_clusters_spec.rb b/spec/requests/api/group_clusters_spec.rb index 58d0e6a1eb5..7c194627f82 100644 --- a/spec/requests/api/group_clusters_spec.rb +++ b/spec/requests/api/group_clusters_spec.rb @@ -453,7 +453,7 @@ RSpec.describe API::GroupClusters, feature_category: :deployment_management do end it 'returns validation error' do - expect(json_response['message']['platform_kubernetes.base'].first).to eq(_('Cannot modify managed Kubernetes cluster')) + expect(json_response['message']['platform_kubernetes'].first).to eq(_('Cannot modify managed Kubernetes cluster')) end end diff --git a/spec/requests/api/project_clusters_spec.rb b/spec/requests/api/project_clusters_spec.rb index c52948a4cb0..99c190757ca 100644 --- a/spec/requests/api/project_clusters_spec.rb +++ b/spec/requests/api/project_clusters_spec.rb @@ -443,7 +443,7 @@ RSpec.describe API::ProjectClusters, feature_category: :deployment_management do it 'returns validation error' do expect(response).to have_gitlab_http_status(:bad_request) - expect(json_response['message']['platform_kubernetes.base'].first) + expect(json_response['message']['platform_kubernetes'].first) .to eq(_('Cannot modify managed Kubernetes cluster')) end end |