diff options
author | Yang Gao <yangg@google.com> | 2015-05-14 11:51:07 -0700 |
---|---|---|
committer | Yang Gao <yangg@google.com> | 2015-05-14 11:51:07 -0700 |
commit | a89389283f504f989a08058d6a2af2c2217dbfcb (patch) | |
tree | e5554c5bd0a8244b03b705d68f7bb206413ac03b /test/cpp/client | |
parent | e02c1482716466ccc5fa2dab8a632dee1020e5d1 (diff) |
support per call credentials in c++
Diffstat (limited to 'test/cpp/client')
-rw-r--r-- | test/cpp/client/credentials_test.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/cpp/client/credentials_test.cc b/test/cpp/client/credentials_test.cc index 6840418989..ee94f455a4 100644 --- a/test/cpp/client/credentials_test.cc +++ b/test/cpp/client/credentials_test.cc @@ -46,8 +46,7 @@ class CredentialsTest : public ::testing::Test { }; TEST_F(CredentialsTest, InvalidServiceAccountCreds) { - std::unique_ptr<Credentials> bad1 = - ServiceAccountCredentials("", "", 1); + std::shared_ptr<Credentials> bad1 = ServiceAccountCredentials("", "", 1); EXPECT_EQ(nullptr, bad1.get()); } |