transfer ownership is not used anymore
This commit is contained in:
@@ -640,15 +640,5 @@ describe('Users API', function () {
|
||||
expect(response.statusCode).to.equal(409);
|
||||
});
|
||||
});
|
||||
|
||||
describe('transfer ownership', function () {
|
||||
it('succeeds', async function () {
|
||||
const response = await superagent.post(`${serverUrl}/api/v1/users/${user.id}/make_owner`)
|
||||
.query({ access_token: owner.token })
|
||||
.send({});
|
||||
|
||||
expect(response.statusCode).to.equal(204);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user