Skip to content

Commit

Permalink
fix: ask correct questions on init env
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Foyle committed Sep 23, 2020
1 parent a924a48 commit 88feff0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const open = require('open');
const _ = require('lodash');
const { getAuthResourceName } = require('../../utils/getAuthResourceName');
const { copyCfnTemplate, saveResourceParameters } = require('./utils/synthesize-resources');
const { immutableAttributes: ENV_SPECIFIC_PARAMS, privateKeys } = require('./constants');
const { ENV_SPECIFIC_PARAMS, privateKeys } = require('./constants');
const { getAddAuthHandler, getUpdateAuthHandler } = require('./handlers/resource-handlers');
const { supportedServices } = require('../supported-services');

Expand Down
6 changes: 3 additions & 3 deletions packages/amplify-e2e-tests/src/__tests__/env.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ describe('environment commands with Cognito Triggers', () => {
});

it('init a project, pull environment', async () => {
await pullEnvironment(projRoot, {});
await pullEnvironment(projRoot);
const meta = getProjectMeta(projRoot);
await validate(meta);
});
Expand Down Expand Up @@ -155,7 +155,7 @@ describe('environment commands with recaptcha trigger', () => {
await validate(meta);
});
it('init a project, pull environment', async () => {
await pullEnvironment(projRoot, {});
await pullEnvironment(projRoot);
const meta = getProjectMeta(projRoot);
await validate(meta);
});
Expand Down Expand Up @@ -183,7 +183,7 @@ describe('environment commands with HostedUI params', () => {
});

it('init a project, pull environment', async () => {
await pullEnvironment(projRoot, {});
await pullEnvironment(projRoot);
const meta = getProjectMeta(projRoot);
await validate(meta);
});
Expand Down

0 comments on commit 88feff0

Please sign in to comment.