feat(services): add GET /channels/[channelId]

This commit is contained in:
Divlo
2021-12-28 21:53:44 +00:00
parent 2871c4c9e0
commit 567b5aa2d8
5 changed files with 141 additions and 2 deletions

View File

@ -26,8 +26,8 @@ describe('GET /guilds/[guildId]/channels', () => {
})
it('fails with not found guild', async () => {
const { accessToken } = await authenticateUserTest()
prismaMock.member.findFirst.mockResolvedValue(null)
const { accessToken } = await authenticateUserTest()
const response = await application.inject({
method: 'GET',
url: '/guilds/1/channels',