Skip to content
Permalink
Browse files

Don't use ya29.* in test because it matches one of git-secrets patterns.

PiperOrigin-RevId: 282820102
Change-Id: Id6f222ff5a83dc92d1df6d72c77eeffb564a4f3b
  • Loading branch information
timford committed Nov 27, 2019
1 parent 64b392e commit b2a3f4e6393416a65d5935afeee66af399290d9d
Showing with 1 addition and 1 deletion.
  1. +1 −1 cxx/internal/storage_client/google_oauth_fetcher_test.cc
@@ -48,7 +48,7 @@ HeaderResult FailureResult(google::cloud::StatusCode code,

TEST(GoogleOauthFetcherTest, ParsesHeader) {
const std::string token =
"ya29.c.El2TBkjVCI-32GrKp9lDJDptZn5NHnIL9NF7Oc_zstErD1EiR6_"
"ya28.c.El2TBkjVCI-32GrKp9lDJDptZn5NHnIL9NF7Oc_zstErD1EiR6_"
"fUJRzxTiWbV79DCJmbdHSAnYYt1QQBP4yV42FLXn3qYVLHHUfvPyJIfEIKyD6vVjQVEwW0TN"
"A8yk";
auto status_or_token = GoogleOAuthFetcher::ParseAuthorizationHeader(

0 comments on commit b2a3f4e

Please sign in to comment.
You can’t perform that action at this time.