提交 6f08eeb6 编写于 作者: G Godfrey Chan

Set the default log_level to info in all tests

This is a follow-up to 116de073. That change was for two reasons: 1) speed up the
tests by reducing the amount of log lines 2) avoid a deprecation warning from
a6de6f50.

This setting need to be on the basic app too, otherwise the deprecation warning
will show up on other unrelated test cases.
上级 3b8a2a0c
......@@ -163,6 +163,7 @@ def make_basic_app
app.secrets.secret_key_base = "3b7cd727ee24e8444053437c36cc66c4"
app.config.session_store :cookie_store, key: "_myapp_session"
app.config.active_support.deprecation = :log
app.config.log_level = :info
yield app if block_given?
app.initialize!
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册