Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Poxhofer <[email protected]>
  • Loading branch information
rarkins and secustor committed Sep 23, 2024
1 parent 86eced5 commit e311544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/modules/datasource/galaxy/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe('modules/datasource/galaxy/index', () => {
expect(res).toBeDefined();
});

it('handles multiple results when one matches', async () => {
it('handles multiple results when one user matches exactly', async () => {
httpMock
.scope(baseUrl)
.get('/api/v1/roles/?owner__username=datadog&name=datadog')
Expand All @@ -100,7 +100,7 @@ describe('modules/datasource/galaxy/index', () => {
expect(res?.releases).toHaveLength(11);
});

it('rejects multiple results when one matches', async () => {
it('rejects multiple results when no user matches exactly', async () => {
httpMock
.scope(baseUrl)
.get('/api/v1/roles/?owner__username=nope&name=nope')
Expand Down

0 comments on commit e311544

Please sign in to comment.