1
0
mirror of https://github.com/badges/shields.git synced 2025-04-18 19:44:04 +03:00

Switch to shields server ID in [Discord] example and test (#10513)

This commit is contained in:
Pierre-Yves Bigourdan 2024-09-07 19:59:38 +02:00 committed by GitHub
parent 0227f7eab1
commit bbc8339789
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ export default class Discord extends BaseJsonService {
description,
parameters: pathParams({
name: 'serverId',
example: '102860784329052160',
example: '308323056592486420',
}),
},
},

View File

@ -3,8 +3,8 @@ import { isMetricWithPattern } from '../test-validators.js'
export const t = await createServiceTester()
t.create('gets status for Reactiflux')
.get('/102860784329052160.json')
t.create('gets status for shields')
.get('/308323056592486420.json')
.expectBadge({
label: 'chat',
message: isMetricWithPattern(/ online/),