aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/security/json_token_test.cc
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2018-11-30 16:48:18 -0800
committerGravatar GitHub <noreply@github.com>2018-11-30 16:48:18 -0800
commit09add58ecaec113c652cb2ad6283b51c0bfb4948 (patch)
treeba330541e24f8ab450f503b15c2055ea84427997 /test/core/security/json_token_test.cc
parentcdea58eb9a06240062793198739f5278d7193c3a (diff)
parent19b3ca5689b9477235fe93d913ca9f9a6d54de3d (diff)
Merge pull request #17359 from yang-g/test_env
Create a class for test environment and migrate most of the tests to use it.
Diffstat (limited to 'test/core/security/json_token_test.cc')
-rw-r--r--test/core/security/json_token_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/core/security/json_token_test.cc b/test/core/security/json_token_test.cc
index 7a5b3355fe..a3ae18e6ab 100644
--- a/test/core/security/json_token_test.cc
+++ b/test/core/security/json_token_test.cc
@@ -482,7 +482,7 @@ static void test_parse_refresh_token_failure_no_refresh_token(void) {
}
int main(int argc, char** argv) {
- grpc_test_init(argc, argv);
+ grpc::testing::TestEnvironment env(argc, argv);
grpc_init();
test_parse_json_key_success();
test_parse_json_key_failure_bad_json();