@@ -79,6 +79,7 @@ describe("postcardsApi", () => {
79
79
from : ADDRESSES_EDITABLE [ 1 ] ,
80
80
front : createdTemplate . id ,
81
81
back : createdTemplate . id ,
82
+ use_type : PscUseType . Marketing ,
82
83
} ) ;
83
84
84
85
const postcard = await postcardsApi . create ( postcardWithTemplateIds ) ;
@@ -106,18 +107,21 @@ describe("postcardsApi", () => {
106
107
from : ADDRESSES_EDITABLE [ 0 ] ,
107
108
front : FILE_LOCATION_4X6 ,
108
109
back : FILE_LOCATION_4X6 ,
110
+ use_type : PscUseType . Marketing ,
109
111
} ) ;
110
112
const postcard2 = new PostcardEditable ( {
111
113
to : ADDRESSES_EDITABLE [ 3 ] ,
112
114
from : ADDRESSES_EDITABLE [ 0 ] ,
113
115
front : FILE_LOCATION_4X6 ,
114
116
back : FILE_LOCATION_4X6 ,
117
+ use_type : PscUseType . Marketing ,
115
118
} ) ;
116
119
const postcard3 = new PostcardEditable ( {
117
120
to : ADDRESSES_EDITABLE [ 6 ] ,
118
121
from : ADDRESSES_EDITABLE [ 1 ] ,
119
122
front : FILE_LOCATION_4X6 ,
120
123
back : FILE_LOCATION_4X6 ,
124
+ use_type : PscUseType . Marketing ,
121
125
} ) ;
122
126
const c1 = await postcardsApi . create ( postcard1 ) ;
123
127
const c2 = await postcardsApi . create ( postcard2 ) ;
0 commit comments