Skip to content
代码片段 群组 项目
未验证 提交 b51330ce 编辑于 作者: Stan Hu's avatar Stan Hu
浏览文件

Fix broken master due to hard-coded username

https://gitlab.com/gitlab-org/gitlab/-/merge_requests/152401
introduced a spec that relied on a hard-coded username (user1), but
this fails if another spec runs before it. Fix this spec by using the
actual username.

Relates to
https://gitlab.com/gitlab-org/quality/engineering-productivity/master-broken-incidents/-/issues/6249
上级 8417a631
No related branches found
No related tags found
无相关合并请求
......@@ -228,7 +228,7 @@
it 'returns paths for user' do
expect(super_sidebar_context).to match(hash_including({
sign_out_link: '/users/sign_out',
issues_dashboard_path: '/dashboard/issues?assignee_username=user1',
issues_dashboard_path: "/dashboard/issues?assignee_username=#{user.username}",
merge_request_dashboard_path: nil,
todos_dashboard_path: '/dashboard/todos',
projects_path: '/dashboard/projects',
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册