From 6c8127ffc698e797b262b7a1d35bbb82d2d46f2f Mon Sep 17 00:00:00 2001 From: StevanFreeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Fri, 17 Feb 2023 22:35:11 -0600 Subject: [PATCH] feat: stub out integration tests for reports --- .../Reports/getReportsByAppId.spec.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/integrationTests/Reports/getReportsByAppId.spec.ts b/integrationTests/Reports/getReportsByAppId.spec.ts index e69de29..26ab88e 100644 --- a/integrationTests/Reports/getReportsByAppId.spec.ts +++ b/integrationTests/Reports/getReportsByAppId.spec.ts @@ -0,0 +1,16 @@ +import { OnspringClient } from '../../src'; +import { expect } from 'chai'; +import { baseURL, apiKey } from '../mochaRootHooks'; + +describe('getReportsByAppId', function () { + this.timeout(30000); + this.retries(3); + + it('should return a list of reports', async function () {}); + + it('should return a 400 error if page size is invalid', async function () {}); + + it('should return a 401 error if the api key is invalid', async function () {}); + + it('should return a 403 error if the api key does not have access to one of the reports', async function () {}); +});