move provisioning routes into /provision/
This commit is contained in:
@@ -143,7 +143,7 @@ function startBox(done) {
|
||||
settings._setApiServerOrigin.bind(null, 'http://localhost:6060'),
|
||||
|
||||
function (callback) {
|
||||
superagent.post(SERVER_URL + '/api/v1/cloudron/setup')
|
||||
superagent.post(SERVER_URL + '/api/v1/provision/setup')
|
||||
.send({ domainConfig: DOMAIN_0 })
|
||||
.end(function (error, result) {
|
||||
expect(result).to.be.ok();
|
||||
@@ -154,7 +154,7 @@ function startBox(done) {
|
||||
},
|
||||
|
||||
function (callback) {
|
||||
superagent.post(SERVER_URL + '/api/v1/cloudron/activate')
|
||||
superagent.post(SERVER_URL + '/api/v1/provision/activate')
|
||||
.send({ username: USERNAME, password: PASSWORD, email: EMAIL })
|
||||
.end(function (error, result) {
|
||||
expect(result).to.be.ok();
|
||||
|
||||
Reference in New Issue
Block a user