Ghost/core/shared/config/env/config.testing.json
Hannah Wolfe b781e47cb9
Changed to use different fixtures during testing
- this keeps production and test fixtures separate, so that changing the prod fixtures doesn't change the shape of our tests.
- we may still want to test that the production fixtures do what we expect, but that can be handled in a separate integration test, by specifically setting the fixture path
2021-11-16 14:03:42 +00:00

57 lines
1.3 KiB
JSON

{
"url": "http://127.0.0.1:2369",
"database": {
"client": "sqlite3",
"connection": {
"filename": "/tmp/ghost-test.db"
},
"useNullAsDefault": true,
"debug": false
},
"server": {
"port": 2369
},
"logging": {
"level": "fatal"
},
"spam": {
"user_login": {
"minWait": 600000,
"maxWait": 604800000,
"freeRetries": 3
},
"user_reset": {
"minWait": 3600000,
"maxWait": 3600000,
"lifetime": 3600,
"freeRetries": 4
},
"global_reset": {
"minWait": 3600000,
"maxWait": 3600000,
"lifetime": 3600,
"freeRetries":4
},
"global_block": {
"minWait": 3600000,
"maxWait": 3600000,
"lifetime": 3600,
"freeRetries":4
},
"private_block": {
"minWait": 3600000,
"maxWait": 3600000,
"lifetime": 3600,
"freeRetries":99
}
},
"privacy": {
"useTinfoil": true,
"useStructuredData": true
},
"useMinFiles": false,
"paths": {
"fixtures": "test/utils/fixtures/fixtures"
}
}