Skip to content

Commit

Permalink
Add test for invalid commit activity branch
Browse files Browse the repository at this point in the history
Add test for REST API calls in commit activity branch
  • Loading branch information
jNullj committed Jun 14, 2023
1 parent e60d71a commit 7b46dd9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions services/github/github-commit-activity.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,10 @@ t.create('commit activity (repo not found)')
label: 'commit activity',
message: 'repo or branch not found',
})

t.create('commit activity (invalid branch)')
.get('/w/badges/shields/invalidBranchName.json?authorFilter=zaphod')
.expectBadge({
label: 'commit activity',
message: 'repo or branch not found',
})

0 comments on commit 7b46dd9

Please sign in to comment.