@@ -43,7 +43,10 @@ describe('Flows', function() {
43
43
amount : 1700 ,
44
44
currency : CURRENCY ,
45
45
interval : 'month' ,
46
- name : 'Gold Super Amazing Tier' ,
46
+ nickname : 'Gold Super Amazing Tier' ,
47
+ product : {
48
+ name : 'product' + testUtils . getRandomString ( ) ,
49
+ } ,
47
50
} ) ,
48
51
stripe . customers . create ( CUSTOMER_DETAILS )
49
52
) . then ( function ( j ) {
@@ -71,7 +74,10 @@ describe('Flows', function() {
71
74
amount : 1700 ,
72
75
currency : CURRENCY ,
73
76
interval : 'month' ,
74
- name : 'Gold Super Amazing Tier' ,
77
+ nickname : 'Gold Super Amazing Tier' ,
78
+ product : {
79
+ name : 'product' + testUtils . getRandomString ( ) ,
80
+ } ,
75
81
} ) ,
76
82
stripe . customers . create ( CUSTOMER_DETAILS )
77
83
) . then ( function ( j ) {
@@ -122,7 +128,10 @@ describe('Flows', function() {
122
128
amount : 1700 ,
123
129
currency : CURRENCY ,
124
130
interval : 'month' ,
125
- name : 'Silver Super Amazing Tier' ,
131
+ nickname : 'Silver Super Amazing Tier' ,
132
+ product : {
133
+ name : 'product' + testUtils . getRandomString ( ) ,
134
+ } ,
126
135
} ) ,
127
136
stripe . customers . create ( CUSTOMER_DETAILS )
128
137
) . then ( function ( j ) {
@@ -157,7 +166,10 @@ describe('Flows', function() {
157
166
amount : 1700 ,
158
167
currency : CURRENCY ,
159
168
interval : 'month' ,
160
- name : 'generic' ,
169
+ nickname : 'generic' ,
170
+ product : {
171
+ name : 'product' + testUtils . getRandomString ( ) ,
172
+ } ,
161
173
} ) . then ( function ( ) {
162
174
cleanup . deletePlan ( planID ) ;
163
175
return stripe . plans . retrieve ( planID ) ;
0 commit comments