test/plugin/base_test.rb in fluent-plugin-google-cloud-0.7.12 vs test/plugin/base_test.rb in fluent-plugin-google-cloud-0.7.13
- old
+ new
@@ -27,15 +27,16 @@
def setup
Fluent::Test.setup
# delete environment variables that googleauth uses to find credentials.
ENV.delete(CREDENTIALS_PATH_ENV_VAR)
# service account env.
- ENV.delete('PRIVATE_KEY_VAR')
- ENV.delete('CLIENT_EMAIL_VAR')
+ ENV.delete(PRIVATE_KEY_VAR)
+ ENV.delete(CLIENT_EMAIL_VAR)
+ ENV.delete(PROJECT_ID_VAR)
# authorized_user env.
- ENV.delete('CLIENT_ID_VAR')
- ENV.delete('CLIENT_SECRET_VAR')
- ENV.delete('REFRESH_TOKEN_VAR')
+ ENV.delete(CLIENT_ID_VAR)
+ ENV.delete(CLIENT_SECRET_VAR)
+ ENV.delete(REFRESH_TOKEN_VAR)
# home var, which is used to find $HOME/.gcloud/...
ENV.delete('HOME')
setup_auth_stubs
@logs_sent = []