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:
parent
465c2ee8d5
commit
14d4d2bf6b
2 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
|||
}
|
||||
},
|
||||
"logging": {
|
||||
"level": "fatal"
|
||||
"level": "error"
|
||||
},
|
||||
"spam": {
|
||||
"user_login": {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"port": 2369
|
||||
},
|
||||
"logging": {
|
||||
"level": "fatal"
|
||||
"level": "error"
|
||||
},
|
||||
"spam": {
|
||||
"user_login": {
|
||||
|
|
Loading…
Add table
Reference in a new issue