We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 768d195 commit ac855e8Copy full SHA for ac855e8
1 file changed
google/cloud/testing_util/credentials.h
@@ -53,7 +53,8 @@ struct TestCredentialsVisitor : public internal::CredentialsVisitor {
53
}
54
void visit(internal::ServiceAccountConfig const& cfg) override {
55
name = "ServiceAccountConfig";
56
- json_object = *cfg.json_object();
+ if (cfg.json_object()) json_object = *cfg.json_object();
57
+ json_object = "cfg.file_path testing not implemented";
58
59
void visit(internal::ExternalAccountConfig const& cfg) override {
60
name = "ExternalAccountConfig";
0 commit comments