@@ -32,7 +32,6 @@ mod insert {
32
32
service. insert_contact_form(
33
33
& context,
34
34
store_id,
35
- & user_id,
36
35
InsertContactForm {
37
36
id: "test_id" . to_string( ) ,
38
37
reply_email: "not_an_email" . to_string( ) ,
@@ -48,7 +47,6 @@ mod insert {
48
47
service. insert_contact_form(
49
48
& context,
50
49
store_id,
51
- & user_id,
52
50
InsertContactForm {
53
51
id: "test_id" . to_string( ) ,
54
52
reply_email: "not_an_email.com" . to_string( ) ,
@@ -64,7 +62,6 @@ mod insert {
64
62
service. insert_contact_form(
65
63
& context,
66
64
store_id,
67
- & user_id,
68
65
InsertContactForm {
69
66
id: "test_id" . to_string( ) ,
70
67
reply_email: "not_an_email@com" . to_string( ) ,
@@ -80,7 +77,6 @@ mod insert {
80
77
service. insert_contact_form(
81
78
& context,
82
79
store_id,
83
- & user_id,
84
80
InsertContactForm {
85
81
id: "test_id" . to_string( ) ,
86
82
reply_email: "" . to_string( ) ,
@@ -96,7 +92,6 @@ mod insert {
96
92
service. insert_contact_form(
97
93
& context,
98
94
store_id,
99
- & user_id,
100
95
InsertContactForm {
101
96
id: "test_id" . to_string( ) ,
102
97
reply_email
: "[email protected] " . to_string
( ) ,
@@ -109,11 +104,11 @@ mod insert {
109
104
110
105
// Create contact form
111
106
service
112
- . insert_contact_form ( & context, store_id, & user_id , input. clone ( ) )
107
+ . insert_contact_form ( & context, store_id, input. clone ( ) )
113
108
. unwrap ( ) ;
114
109
115
110
// try create a second time
116
- let result = service. insert_contact_form ( & context, store_id, & user_id , input) ;
111
+ let result = service. insert_contact_form ( & context, store_id, input) ;
117
112
118
113
let expected_result = Err ( InsertContactFormError :: ContactFormAlreadyExists ) ;
119
114
@@ -140,7 +135,6 @@ mod insert {
140
135
. insert_contact_form (
141
136
& context,
142
137
store_id,
143
- & user_id,
144
138
InsertContactForm {
145
139
id : "test_id" . to_string ( ) ,
146
140
reply_email : "[email protected] " . to_string ( ) ,
0 commit comments