return 200 for immediate setters which require no further processing
This commit is contained in:
@@ -51,7 +51,7 @@ describe('Branding API', function () {
|
||||
.query({ access_token: owner.token })
|
||||
.send({ name: name });
|
||||
|
||||
expect(response.statusCode).to.equal(202);
|
||||
expect(response.statusCode).to.equal(200);
|
||||
});
|
||||
|
||||
it('get succeeds', async function () {
|
||||
@@ -85,7 +85,7 @@ describe('Branding API', function () {
|
||||
.query({ access_token: owner.token })
|
||||
.attach('avatar', paths.CLOUDRON_DEFAULT_AVATAR_FILE);
|
||||
|
||||
expect(response.statusCode).to.equal(202);
|
||||
expect(response.statusCode).to.equal(200);
|
||||
});
|
||||
|
||||
it('get succeeds', async function () {
|
||||
@@ -138,7 +138,7 @@ describe('Branding API', function () {
|
||||
.query({ access_token: owner.token })
|
||||
.send({ blacklist: [ 'id1', 'id2' ] });
|
||||
|
||||
expect(response.statusCode).to.equal(202);
|
||||
expect(response.statusCode).to.equal(200);
|
||||
});
|
||||
|
||||
it('get bl succeeds', async function () {
|
||||
@@ -155,7 +155,7 @@ describe('Branding API', function () {
|
||||
.query({ access_token: owner.token })
|
||||
.send({ whitelist: [ 'id1', 'id2' ] });
|
||||
|
||||
expect(response.statusCode).to.equal(202);
|
||||
expect(response.statusCode).to.equal(200);
|
||||
});
|
||||
|
||||
it('get wl succeeds', async function () {
|
||||
|
||||
Reference in New Issue
Block a user