Skip to content

Commit

Permalink
[#4395]Bug/Test case
Browse files Browse the repository at this point in the history
- Resolved repo list in the test case

Signed-off-by: Harold Wanyama <hwanyama@contractor.linuxfoundation.org>
  • Loading branch information
nickmango committed Oct 8, 2024
1 parent e0cf32b commit b62960f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cla-backend-go/gerrits/service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ func TestService_AddGerrit(t *testing.T) {
if err != nil {
t.Fatalf("Add Gerrit returned an error: %v", err)
}
assert.Equal(t, tc.expectedResult, result)
assert.Equal(t, repos, result.GerritRepoList.Repos)
assert.NotNil(t, result)
})
}
}

0 comments on commit b62960f

Please sign in to comment.