Skip to content

Commit

Permalink
Remove failing [Packagist] tests (#10512)
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed Sep 7, 2024
1 parent bbc8339 commit 559c38f
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions services/packagist/packagist-stars.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,16 @@ t.create('Stars (invalid package)')
message: 'not found',
})

t.create('Stars (valid package, valid custom server)')
t.create('Stars (valid package, custom server)')
.get('/guzzlehttp/guzzle.json?server=https%3A%2F%2Fpackagist.org')
.expectBadge({
label: 'stars',
message: isMetric,
})

t.create('Stars (invalid package, valid custom server)')
t.create('Stars (invalid package, custom server)')
.get('/frodo/is-not-a-package.json?server=https%3A%2F%2Fpackagist.org')
.expectBadge({
label: 'stars',
message: 'not found',
})

t.create('Stars (valid package, invalid custom server)')
.get('/guzzlehttp/guzzle.json?server=https%3A%2F%2Fexample.com')
.expectBadge({
label: 'stars',
message: 'not found',
})

t.create('Stars (invalid package, invalid custom server)')
.get('/frodo/is-not-a-package.json?server=https%3A%2F%2Fexample.com')
.expectBadge({
label: 'stars',
message: 'not found',
})

0 comments on commit 559c38f

Please sign in to comment.