Skip to content

Commit

Permalink
Switch to shields server ID in [Discord] example and test (#10513)
Browse files Browse the repository at this point in the history
  • Loading branch information
PyvesB committed Sep 7, 2024
1 parent 0227f7e commit bbc8339
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion services/discord/discord.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default class Discord extends BaseJsonService {
description,
parameters: pathParams({
name: 'serverId',
example: '102860784329052160',
example: '308323056592486420',
}),
},
},
Expand Down
4 changes: 2 additions & 2 deletions services/discord/discord.tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/),
Expand Down

0 comments on commit bbc8339

Please sign in to comment.