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:
parent
0227f7eab1
commit
bbc8339789
@ -42,7 +42,7 @@ export default class Discord extends BaseJsonService {
|
||||
description,
|
||||
parameters: pathParams({
|
||||
name: 'serverId',
|
||||
example: '102860784329052160',
|
||||
example: '308323056592486420',
|
||||
}),
|
||||
},
|
||||
},
|
||||
|
@ -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/),
|
||||
|
Loading…
x
Reference in New Issue
Block a user