text: 'use strict';
  
  const test = require('ava');
  const request = require('supertest');
  const assertions = require('../../lib/assertions');
  
  // import the express app after setting the env variables
  const { app } = require('../../app');
  
  test('CUMULUS-911 GET with pathParameters and without an Authorization header returns an Authorization Missing response', async (t) => {
    const response = await request(app)
      .get('/schemas/asdf')
      .set('Accept', 'application/json')
      .expect(401);
  
    assertions.isAuthorizationMissingResponse(t, response);
  });
  
  test('CUMULUS-912 GET with pathParameters and with an invalid access token returns an unauthorized response', async (t) => {
    const response = await request(app)
      .get('/schemas/asdf')
      .set('Accept', 'application/json')
      .set('Authorization', 'Bearer ThisIsAnInvalidAuthorizationToken')
      .expect(401);
  
    assertions.isInvalidAccessTokenResponse(t, response);
  });
  
  test.todo('CUMULUS-912 GET with pathParameters and with an unauthorized user returns an unauthorized response');
  