Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
fc7bf196
Commit
fc7bf196
authored
Jan 24, 2022
by
Andrejs Cunskis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix stale merge request import spec
parent
3f12febe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
qa/qa/specs/features/api/1_manage/migration/gitlab_migration_mr_spec.rb
...atures/api/1_manage/migration/gitlab_migration_mr_spec.rb
+2
-6
No files found.
qa/qa/specs/features/api/1_manage/migration/gitlab_migration_mr_spec.rb
View file @
fc7bf196
...
@@ -51,14 +51,10 @@ module QA
...
@@ -51,14 +51,10 @@ module QA
expect
(
imported_mrs
.
count
).
to
eq
(
1
)
expect
(
imported_mrs
.
count
).
to
eq
(
1
)
aggregate_failures
do
aggregate_failures
do
# TODO: remove custom comparison after member migration is implemented
expect
(
imported_mr
).
to
eq
(
source_mr
.
reload!
)
# https://gitlab.com/gitlab-org/gitlab/-/issues/341886
expect
(
imported_mr
.
comparable
.
except
(
:author
)).
to
eq
(
source_mr
.
reload!
.
comparable
.
except
(
:author
))
expect
(
imported_mr_comments
.
count
).
to
eq
(
1
)
expect
(
imported_mr_comments
.
count
).
to
eq
(
1
)
expect
(
imported_mr_comments
.
first
[
:body
]).
to
include
(
source_comment
[
:body
])
expect
(
imported_mr_comments
.
first
.
except
(
:id
,
:noteable_id
)).
to
eq
(
source_comment
.
except
(
:id
,
:noteable_id
))
# Comment will have mention of original user since members are not migrated yet
expect
(
imported_mr_comments
.
first
[
:body
]).
to
include
(
other_user
.
name
)
end
end
end
end
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment