0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Set the log level for test environments to log errors

refs: https://github.com/TryGhost/Toolbox/issues/389

The number of error logs has been reduced massively. There are 4 remaining logs in the unit test suite, and 200~ in the e2e test suite. A lot of the e2e test suite error logs are relating to Stripe, but after that they're mostly individual error log lines caused by testing a failure case. These can be resolved by stubbing the error log and testing that it is called exactly 1 time.
This commit is contained in:
Sam Lord 2023-03-27 11:01:37 +01:00
parent 465c2ee8d5
commit 14d4d2bf6b
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@
} }
}, },
"logging": { "logging": {
"level": "fatal" "level": "error"
}, },
"spam": { "spam": {
"user_login": { "user_login": {

View file

@ -12,7 +12,7 @@
"port": 2369 "port": 2369
}, },
"logging": { "logging": {
"level": "fatal" "level": "error"
}, },
"spam": { "spam": {
"user_login": { "user_login": {