T-14: tests
This commit is contained in:
parent
88022a0790
commit
3e1f108c6f
2 changed files with 275 additions and 0 deletions
|
|
@ -233,6 +233,8 @@ describe('Environment safety: short and numeric IPv4 loopback spellings (T-14)',
|
|||
'MONGODB_URI',
|
||||
'MONGODB_READ_URI',
|
||||
'MONGODB_DATABASE',
|
||||
'MONGODB_READ_ONLY',
|
||||
'STOCK_BOT_ALLOW_DEV_QA_MONGO_WRITE',
|
||||
'HTTP_PROXY',
|
||||
'HTTPS_PROXY',
|
||||
'http_proxy',
|
||||
|
|
@ -253,6 +255,9 @@ describe('Environment safety: short and numeric IPv4 loopback spellings (T-14)',
|
|||
process.env.MONGODB_READ_URI =
|
||||
'mongodb://studio_stock_bot_read:secret@localhost:27017/stock?authSource=stock';
|
||||
process.env.MONGODB_DATABASE = 'stock_dev';
|
||||
// Pin the guard bypasses off so a runner env with either set cannot mask the regression.
|
||||
process.env.MONGODB_READ_ONLY = 'false';
|
||||
process.env.STOCK_BOT_ALLOW_DEV_QA_MONGO_WRITE = 'false';
|
||||
delete process.env.HTTP_PROXY;
|
||||
delete process.env.HTTPS_PROXY;
|
||||
delete process.env.http_proxy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue