File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,9 @@ func TestVerifySubscription(t *testing.T) {
115
115
)
116
116
defer server .Close ()
117
117
118
+ freeTrialEndDate := int64 (1561104377023 )
119
+ gracePeriodEndDate := int64 (1561104377013 )
120
+
118
121
expected := IAPResponse {
119
122
ReceiptID : "q1YqVrJSSs7P1UvMTazKz9PLTCwoTswtyEktM9JLrShIzCvOzM-LL04tiTdW0lFKASo2NDEwMjCwMDM2MTC0AIqVAsUsLd1c4l18jIxdfTOK_N1d8kqLLHVLc8oK83OLgtPNCit9AoJdjJ3dXG2BGkqUrAxrAQ" ,
120
123
ProductType : "SUBSCRIPTION" ,
@@ -126,9 +129,9 @@ func TestVerifySubscription(t *testing.T) {
126
129
Quantity : 1 ,
127
130
Term : "1 Week" ,
128
131
TermSku : "sub1-weekly" ,
129
- FreeTrialEndDate : 1561104377023 ,
132
+ FreeTrialEndDate : & freeTrialEndDate ,
130
133
AutoRenewing : false ,
131
- GracePeriodEndDate : 1561104377013 ,
134
+ GracePeriodEndDate : & gracePeriodEndDate ,
132
135
}
133
136
134
137
actual , _ := client .Verify (
You can’t perform that action at this time.
0 commit comments