Fixed test for playstore

This commit is contained in:
Junpei Tsuji
2020-02-20 13:04:39 +09:00
parent a61c519ac8
commit 588d81166b

View File

@@ -35,7 +35,7 @@ func TestNew(t *testing.T) {
t.Parallel() t.Parallel()
// Exception scenario // 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) _, err := New(dummyKey)
if err == nil || err.Error() != expected { if err == nil || err.Error() != expected {