From 98ad9d82f725b09e709b3c268610d40c18446990 Mon Sep 17 00:00:00 2001 From: Carmine DiMascio Date: Thu, 27 Aug 2020 18:31:44 -0400 Subject: [PATCH] add #356 test --- .../campaign.spec.ts => issue.tests/356.campaign.spec.ts} | 3 +-- .../campaign.yaml => issue.tests/356.campaign.yaml} | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename test/{user.submitted/campaign.spec.ts => issue.tests/356.campaign.spec.ts} (92%) rename test/{user.submitted/campaign.yaml => issue.tests/356.campaign.yaml} (100%) diff --git a/test/user.submitted/campaign.spec.ts b/test/issue.tests/356.campaign.spec.ts similarity index 92% rename from test/user.submitted/campaign.spec.ts rename to test/issue.tests/356.campaign.spec.ts index e644464d..6280a76d 100644 --- a/test/user.submitted/campaign.spec.ts +++ b/test/issue.tests/356.campaign.spec.ts @@ -1,6 +1,5 @@ import * as path from 'path'; import * as express from 'express'; -import { expect } from 'chai'; import * as request from 'supertest'; import { createApp } from '../common/app'; import * as packageJson from '../../package.json'; @@ -10,7 +9,7 @@ describe(packageJson.name, () => { before(async () => { // Set up the express app - const apiSpec = path.join(__dirname, 'campaign.yaml'); + const apiSpec = path.join(__dirname, '356.campaign.yaml'); app = await createApp({ apiSpec }, 3005, (app) => app.use( express.Router().post(`/campaign`, (req, res) => diff --git a/test/user.submitted/campaign.yaml b/test/issue.tests/356.campaign.yaml similarity index 100% rename from test/user.submitted/campaign.yaml rename to test/issue.tests/356.campaign.yaml