Skip to content

Commit

Permalink
fix: set scheme for seed tests in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ZavenArra committed Feb 18, 2021
1 parent fc80a05 commit 2ffe6eb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions __tests__/seed.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ describe("Seed data into DB", () => {
before(async () => {
await seed.clear();
await seed.seed();
if(process.env.DATABASE_SCHEMA){
knexConfig.searchPath = [process.env.DATABASE_SCHEMA]
} else {
knexConfig.searchPath = ['public']
}

});

it("Should have api key", async () => {
Expand Down

0 comments on commit 2ffe6eb

Please sign in to comment.