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>2023-07-31 15:23:51 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-07-31 15:23:51 +0300
commit920cbcb38960331cd5e9315e63b2d808fd1a1e48 (patch)
tree7a20d5c4d92257557c0042e3b1b516fb44b34989 /spec/support
parent34a401c88dd94954363884f1325b92659159bdd7 (diff)
Add latest changes from gitlab-org/gitlab@16-2-stable-ee
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/helpers/repo_helpers.rb22
1 files changed, 21 insertions, 1 deletions
diff --git a/spec/support/helpers/repo_helpers.rb b/spec/support/helpers/repo_helpers.rb
index 45467fb7099..d264356aa64 100644
--- a/spec/support/helpers/repo_helpers.rb
+++ b/spec/support/helpers/repo_helpers.rb
@@ -120,11 +120,31 @@ eos
c1acaa58bbcbc3eafe538cb8274ba387047b69f8
).reverse # last commit is recent one
+ reviewers = [
+ {
+ "user" => {
+ "name" => "Jane",
+ "emailAddress" => "jane@doe.com",
+ "displayName" => "Jane Doe",
+ "slug" => "jane_doe"
+ }
+ },
+ {
+ "user" => {
+ "name" => "John",
+ "emailAddress" => "john@smith.com",
+ "displayName" => "John Smith",
+ "slug" => "john_smith"
+ }
+ }
+ ]
+
OpenStruct.new(
source_branch: 'master',
target_branch: 'feature',
changes: changes,
- commits: commits
+ commits: commits,
+ reviewers: reviewers
)
end