From 588d81166b3876258e808602b3cafe4510d305e5 Mon Sep 17 00:00:00 2001 From: Junpei Tsuji Date: Thu, 20 Feb 2020 13:04:39 +0900 Subject: [PATCH] Fixed test for playstore --- playstore/validator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playstore/validator_test.go b/playstore/validator_test.go index b40ba52..4f90541 100644 --- a/playstore/validator_test.go +++ b/playstore/validator_test.go @@ -35,7 +35,7 @@ func TestNew(t *testing.T) { t.Parallel() // Exception scenario - expected := "oauth2: cannot fetch token: 400 Bad Request\nResponse: {\n \"error\": \"invalid_grant\",\n \"error_description\": \"Invalid issuer: Not a service account.\"\n}" + expected := "oauth2: cannot fetch token: 400 Bad Request\nResponse: {\"error\":\"invalid_grant\",\"error_description\":\"Invalid JWT: iss field missing.\"}" _, err := New(dummyKey) if err == nil || err.Error() != expected {