lint: Fix linting errors in api v2 tests
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
import {
|
||||
createAndPopulateGroup,
|
||||
generateGroup,
|
||||
generateUser,
|
||||
translate as t,
|
||||
} from '../../../helpers/api-integration.helper';
|
||||
|
||||
describe('POST /groups/:id/removeMember', () => {
|
||||
|
||||
context('user is not member of the group', () => {
|
||||
it('returns an error');
|
||||
});
|
||||
@@ -45,7 +42,7 @@ describe('POST /groups/:id/removeMember', () => {
|
||||
it('can remove other members of guild', async () => {
|
||||
return leader.post(`/groups/${group._id}/removeMember`, null, {
|
||||
uuid: member._id,
|
||||
}).then((res) => {
|
||||
}).then(() => {
|
||||
return leader.get(`/groups/${group._id}`);
|
||||
}).then((guild) => {
|
||||
expect(guild.members).to.have.a.lengthOf(1);
|
||||
|
||||
Reference in New Issue
Block a user