Fix incorrect role comparison

This commit is contained in:
Girish Ramakrishnan
2020-03-15 15:56:06 -07:00
parent 2ac0fe21c6
commit 7e0ef60305
2 changed files with 4 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ describe('Users API', function () {
});
});
it('create admin', function (done) {
it('create owner', function (done) {
superagent.post(SERVER_URL + '/api/v1/cloudron/activate')
.query({ setupToken: 'somesetuptoken' })
.send({ username: USERNAME_0, password: PASSWORD, email: EMAIL_0 })