Skip to content

Commit

Permalink
Fixed test for playstore
Browse files Browse the repository at this point in the history
  • Loading branch information
jun06t committed Feb 20, 2020
1 parent a61c519 commit 588d811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playstore/validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 588d811

Please sign in to comment.