Skip to content

Conversation

jrpool
Copy link
Collaborator

@jrpool jrpool commented Oct 11, 2017

This PR provides tests as required by issue 376.

The PR includes a change to /knexfile.js making pg.defaults.ssl false when NODE_ENV = 'test'. The instructions in DEVELOPMENT.md do not specify any configuration for a 'test' environment. Without this change it would be necessary to provide such instructions, including enabling SSL connections to the local PostgreSQL cluster.

The tests of the commands function avoid using the queries functions to examine the resulting tables, using child-process calls to psql instead, so that each test is a test only of the command function and not of the interaction between it and the queries functions.

jrpool added 12 commits October 3, 2017 10:41
Both CI links produce a 404 page. Also, the one at the top is a bare link with no explanation to the reader about why it is there.
Changed nouns to verbs.
For Learners completing all installations in order, IDM and Echo will already be installed and possibly running.
Made it identical to the one in the Echo instructions, for consistency.
Seems better in the .env file itself than in the instruction file.
This is consistent with the final step in the Echo installation instructions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant