15: added preliminary tests for product and products (#17)

* Merge

* 15: added preliminary tests for product and products

Co-authored-by: Niklas Fondberg <niklas.fondberg@photowall.se>
This commit is contained in:
Arwid Thornström
2021-08-27 16:52:39 +02:00
committed by GitHub
co-authored by Niklas Fondberg
parent 2b67bc506f
commit cbb0024359
15 changed files with 1197 additions and 860 deletions
+3
View File
@@ -94,6 +94,9 @@ export const createAllTestContainers =
await runFile(db, 'db/data/order-rows.sql');
await runFile(db, 'db/data/order-rows_details.sql');
// Products
await runFile(db, 'db/data/product-products.sql');
// Set the public as the default schema
await db.raw('set search_path to "public"');