summaryrefslogtreecommitdiff
path: root/qa/qa/runtime/api/repository_storage_moves.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/runtime/api/repository_storage_moves.rb')
-rw-r--r--qa/qa/runtime/api/repository_storage_moves.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/qa/qa/runtime/api/repository_storage_moves.rb b/qa/qa/runtime/api/repository_storage_moves.rb
index 5630a9c02c5..d1d44bd1ab5 100644
--- a/qa/qa/runtime/api/repository_storage_moves.rb
+++ b/qa/qa/runtime/api/repository_storage_moves.rb
@@ -33,6 +33,8 @@ module QA
def resource_equals?(resource, move)
if resource.class.name.include?('Snippet')
move[:snippet][:id] == resource.id
+ elsif resource.class.name.include?('Group')
+ move[:group][:id] == resource.id
else
move[:project][:path_with_namespace] == resource.path_with_namespace
end