Skip to content

Commit

Permalink
Fix discussion test
Browse files Browse the repository at this point in the history
  • Loading branch information
marwatk committed Sep 15, 2020
1 parent 9eab160 commit cce87e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/mr_discussion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func Test_mrCreateDiscussion(t *testing.T) {
t.Fatal(err)
}

require.Contains(t, string(b), "https://gitlab.com/lab-testing/test/merge_requests/1#discussion_")
require.Contains(t, string(b), "https://gitlab.com/lab-testing/test/merge_requests/1#note_")
}

func Test_mrCreateDiscussion_file(t *testing.T) {
Expand All @@ -43,7 +43,7 @@ func Test_mrCreateDiscussion_file(t *testing.T) {
t.Fatal(err)
}

require.Contains(t, string(b), "https://gitlab.com/lab-testing/test/merge_requests/1#discussion_")
require.Contains(t, string(b), "https://gitlab.com/lab-testing/test/merge_requests/1#note_")
}

func Test_mrDiscussionMsg(t *testing.T) {
Expand Down

0 comments on commit cce87e3

Please sign in to comment.