hotfix: gift card creation (#196)

* fix: enable gift-card creation without order_id

* fix: adds integration test to create endpoint
This commit is contained in:
Sebastian Rindom
2021-03-08 15:58:59 +01:00
committed by GitHub
parent 1263d24ca3
commit 975de99ee7
3 changed files with 85 additions and 3 deletions
@@ -22,7 +22,7 @@ describe("/store/carts", () => {
afterAll(async () => {
dbConnection.close();
dropDatabase({ databaseName: "medusa-integration" });
await dropDatabase({ databaseName: "medusa-integration" });
medusaProcess.kill();
});