Fixup tests
This commit is contained in:
parent
64a620770c
commit
a2a59d1a1b
|
@ -215,6 +215,7 @@ describe('Application life cycle test', function () {
|
||||||
|
|
||||||
it('can get app information', getAppInfo);
|
it('can get app information', getAppInfo);
|
||||||
it('can login OIDC', loginOIDC.bind(null, USERNAME, PASSWORD));
|
it('can login OIDC', loginOIDC.bind(null, USERNAME, PASSWORD));
|
||||||
|
it('can make user Administrator', function () { execSync(`cloudron exec --app ${app.id} -- bash -c "php cli/reconfigure.php --default_user ${USERNAME}"`); });
|
||||||
it('can subscribe', addSubscription);
|
it('can subscribe', addSubscription);
|
||||||
it('can add users', addUser.bind(null, 'test', admin_password));
|
it('can add users', addUser.bind(null, 'test', admin_password));
|
||||||
|
|
||||||
|
@ -225,7 +226,6 @@ describe('Application life cycle test', function () {
|
||||||
expect(app).to.be.an('object');
|
expect(app).to.be.an('object');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can login', login.bind(null, admin_username, admin_password));
|
|
||||||
it('subscription exists', subscriptionExists);
|
it('subscription exists', subscriptionExists);
|
||||||
it('can get static extension file', getStaticExtensionFile);
|
it('can get static extension file', getStaticExtensionFile);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue