Change user creation api to require the invite flag

This commit is contained in:
Johannes Zellner
2016-01-18 16:53:51 +01:00
parent 643e490cbb
commit 44e4f53827
4 changed files with 26 additions and 9 deletions

View File

@@ -138,7 +138,7 @@ function setup(done) {
function (callback) {
superagent.post(SERVER_URL + '/api/v1/users')
.query({ access_token: token })
.send({ username: USERNAME_1, email: EMAIL_1 })
.send({ username: USERNAME_1, email: EMAIL_1, invite: false })
.end(function (err, res) {
expect(res.statusCode).to.equal(201);