return 200 for immediate setters which require no further processing

This commit is contained in:
Girish Ramakrishnan
2022-02-16 10:08:57 -08:00
parent 9dbb299bb9
commit 9d2d5d16f3
2 changed files with 7 additions and 7 deletions

View File

@@ -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 () {