Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hardillb committed Nov 28, 2024
1 parent 5d992b7 commit 6e1d7b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/forge/routes/api/device_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1284,7 +1284,7 @@ describe('Device API', async function () {
settings.should.have.property('mode', 'developer')
settings.should.have.property('editor')
})
it('team member can not set device to developer mode', async function () {
it('team member can set device to developer mode', async function () {
const device = await createDevice({ name: 'Ad1', type: '', team: TestObjects.ATeam.hashid, as: TestObjects.tokens.alice })
const response = await app.inject({
method: 'PUT',
Expand All @@ -1294,7 +1294,7 @@ describe('Device API', async function () {
},
cookies: { sid: TestObjects.tokens.chris }
})
response.statusCode.should.equal(403)
response.statusCode.should.equal(200)
})
})
})
Expand Down

0 comments on commit 6e1d7b8

Please sign in to comment.