@@ -74,7 +74,7 @@ func TestNewWithClient(t *testing.T) {
74
74
func TestAcknowledgeSubscription (t * testing.T ) {
75
75
t .Parallel ()
76
76
// Exception scenario
77
- expected := "googleapi: Error 404: No application was found for the given package name., applicationNotFound "
77
+ expected := "googleapi: Error 400: Invalid Value, invalid "
78
78
79
79
client , _ := New (jsonKey )
80
80
ctx := context .Background ()
@@ -93,7 +93,7 @@ func TestAcknowledgeSubscription(t *testing.T) {
93
93
func TestVerifySubscription (t * testing.T ) {
94
94
t .Parallel ()
95
95
// Exception scenario
96
- expected := "googleapi: Error 404: No application was found for the given package name., applicationNotFound "
96
+ expected := "googleapi: Error 400: Invalid Value, invalid "
97
97
98
98
client , _ := New (jsonKey )
99
99
ctx := context .Background ()
@@ -121,7 +121,7 @@ func TestVerifySubscriptionAndroidPublisherError(t *testing.T) {
121
121
func TestVerifyProduct (t * testing.T ) {
122
122
t .Parallel ()
123
123
// Exception scenario
124
- expected := "googleapi: Error 404: No application was found for the given package name., applicationNotFound "
124
+ expected := "googleapi: Error 400: Invalid Value, invalid "
125
125
126
126
client , _ := New (jsonKey )
127
127
ctx := context .Background ()
@@ -159,7 +159,7 @@ func TestCancelSubscription(t *testing.T) {
159
159
}
160
160
161
161
client , _ = New (jsonKey )
162
- expectedStr := "googleapi: Error 404: No application was found for the given package name., applicationNotFound "
162
+ expectedStr := "googleapi: Error 400: Invalid Value, invalid "
163
163
actual = client .CancelSubscription (ctx , "package" , "productID" , "purchaseToken" )
164
164
165
165
if actual .Error () != expectedStr {
0 commit comments