feat: add guilds and channels CRUD (#14)
This commit is contained in:
15
cypress/fixtures/guilds/[guildId]/channels/post.ts
Normal file
15
cypress/fixtures/guilds/[guildId]/channels/post.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { guildExample } from '../../guild'
|
||||
import { Handler } from '../../../handler'
|
||||
import { channelExample, channelExample2 } from '../../../channels/channel'
|
||||
|
||||
export const postChannelsWithGuildIdHandler: Handler = {
|
||||
method: 'POST',
|
||||
url: `/guilds/${guildExample.id}/channels`,
|
||||
response: {
|
||||
statusCode: 200,
|
||||
body: {
|
||||
...channelExample2,
|
||||
defaultChannelId: channelExample.id
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user