Skip to content

Commit

Permalink
Feat(tenant): Update test-e2e-api
Browse files Browse the repository at this point in the history
  • Loading branch information
arimet committed Sep 15, 2023
1 parent 280e348 commit f7824f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/api/e2e/publishedDataset.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ describe('e2e publishedDataset Authentication', () => {

beforeAll(async () => {
server = requestServer();
// await clear();
await connect();
await clear();
await connect('lodex_test');
await loadFixtures(fixtures);
});

Expand Down
6 changes: 1 addition & 5 deletions src/api/e2e/ssr.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,8 @@ const authentifiedHeader = {
describe('ssr', () => {
let server;

beforeAll(done => {
beforeAll(async () => {
server = requestServer();
done();
});

beforeEach(async () => {
await clear();
await connect('lodex_test');
await loadFixtures(fixtures);
Expand Down

0 comments on commit f7824f6

Please sign in to comment.