Skip to content

Commit

Permalink
fixed after positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
BruunoMarques committed Jun 27, 2017
1 parent 0a546bd commit 9527a15
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,16 @@ describe('/ontologies/all', function () {
done();
});
});
});

after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
});
});
});




Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,17 @@ describe('/ontologies/edit', function () {
});
});
});*/
});

after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
});
});

});




Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,16 @@ describe('/ontologies/public', function () {
done();
});
});
});

after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
});
});
});




Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,13 @@ describe("/user/demouser1", function (done) {
done();
})
});
});
after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();

after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
});
});

});
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,12 @@ describe("/user/demouser2", function (done) {
})
});

after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
});
});
});

after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,15 @@ describe("/user/demouser3", function (done) {
done();
})
});
});
after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();

after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
});
});

});


Original file line number Diff line number Diff line change
Expand Up @@ -145,17 +145,18 @@ describe("/users/loggedUser ", function () {
})
});

});

after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
});
});
});







15 changes: 8 additions & 7 deletions test_new_structure/routes/users/route.users.Test.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,13 @@ describe("/users", function () {
})
});

});

after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
after(function (done) {
this.timeout(60000);
appUtils.clearAppState(function (err, data) {
should.equal(err, null);
done();
});
});
});


0 comments on commit 9527a15

Please sign in to comment.