|
@@ -190,6 +190,13 @@ describe('Application life cycle test SSO', function () {
|
|
|
it('can create user story', createUserStory);
|
|
|
it('user story exists', userStoryExists);
|
|
|
|
|
|
+ it('can restart app', function (done) {
|
|
|
+ execSync('cloudron restart --wait --app ' + app.id);
|
|
|
+ done();
|
|
|
+ });
|
|
|
+
|
|
|
+ it('user story is still present', userStoryExists);
|
|
|
+
|
|
|
it('backup app', function () {
|
|
|
execSync('cloudron backup create --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
|
|
});
|