Commit Graph

5 Commits

Author SHA1 Message Date
Simon Ho a004b03d0f Fix pretest and init test configs
Environment variables set in pretest.js and test/init.js were silently
being converted to Strings. For example, when TEST_MYSQL_USER is
undefined, it's value was automatically converted to the String
'undefined'. This is documented a side effect of assigning values to
process.env. See https://nodejs.org/api/process.html#process_process_env
for more details
2016-08-19 10:56:19 -07:00
Loay 9c9b61e7dc Update eslint infrastructure 2016-08-10 20:04:26 -04:00
Ryan Graham 2533fe8404
test: use dump of original test DB as seed 2016-08-09 19:14:51 -07:00
Ryan Graham 3954709bbc
test: accept alternate test db credentials
Allow the tests to run on ci.strongloop.com using the credentials that
are given there, but translate them to the form that is used on
cis-jenkins, which is actually the correct format.
2016-08-09 19:00:07 -07:00
Ryan Graham acaa6b0bb9
test: seed test DB with example
Only run if the environment defines a test database to connect to.
2016-08-08 17:37:09 -07:00