We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f98b83d commit a660d97Copy full SHA for a660d97
test/integration-tests/org/putOrgTest.js
@@ -89,6 +89,8 @@ describe('Testing org put endpoint', () => {
89
.then((res, err) => {
90
expect(res).to.have.status(401)
91
expect(err).to.be.undefined
92
+ expect(res.body).to.haveOwnProperty('error')
93
+ expect(res.body.error).to.equal('UNAUTHORIZED')
94
})
95
96
it('Fails update made by a non-secretariat org to a secretariat', async () => {
@@ -99,6 +101,8 @@ describe('Testing org put endpoint', () => {
99
101
100
102
103
104
105
106
107
108
0 commit comments