Remove failing [Packagist] tests (#10512)

This commit is contained in:
Pierre-Yves Bigourdan
2024-09-07 20:01:16 +02:00
committed by GitHub
parent bbc8339789
commit 559c38f966

View File

@@ -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',
})