Skip to content

Commit

Permalink
fix test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
Leif Shackelford committed Aug 29, 2023
1 parent 4308156 commit f9f98c1
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions test/endpoints.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@ import { assert } from "chai";
const badApiKey = "123asd";
const env = require("./local.env.json");

const batchTag = "1A4901";
const childTag = "1A4903";
const batchTag = "1a4060300007777000000001";
const childTag = "1a4060300007777000000011";

const d = new Date();
const dateString = `${d.getFullYear()}-${d.getMonth()}-${d.getDay()}`;

const testFixtures = {
id: batchTag,
strain: "Api Kush",
category: "Api Vape 1g",
quantity: 6,
caseQuantity: 2,
strain: "Test OG",
batch: `TSTOG-${dateString}-PR-1G`,
category: "Preroll 1g",
quantity: 100
};

const endpointInfo = {
Expand Down

0 comments on commit f9f98c1

Please sign in to comment.