@@ -106,10 +106,10 @@ public static function invalidSubscriberDataProvider(): array
106
106
'email is an empty string ' => [['email ' => '' ]],
107
107
'email is invalid string ' => [['email ' => 'coffee and cigarettes ' ]],
108
108
'email as boolean ' => [['email ' => true ]],
109
- 'html_email as integer ' => [['email ' => 'kate@example.com ' , 'html_email ' => 1 ]],
110
- 'html_email as string ' => [['email ' => 'kate@example.com ' , 'html_email ' => 'yes ' ]],
111
- 'request_confirmation as string ' => [['email ' => 'kate@example.com ' , 'request_confirmation ' => 'needed ' ]],
112
- 'disabled as string ' => [['email ' => 'kate@example.com ' , 'request_confirmation ' => 1 ]],
109
+ 'html_email as integer ' => [['email ' => 'kate@example.com ' , 'htmlEmail ' => 1 ]],
110
+ 'html_email as string ' => [['email ' => 'kate@example.com ' , 'htmlEmail ' => 'yes ' ]],
111
+ 'request_confirmation as string ' => [['email ' => 'kate@example.com ' , 'requestConfirmation ' => 'needed ' ]],
112
+ 'disabled as string ' => [['email ' => 'kate@example.com ' , 'requestConfirmation ' => 1 ]],
113
113
];
114
114
}
115
115
@@ -129,9 +129,9 @@ public function testPostSubscribersWithValidSessionKeyAssignsProvidedSubscriberD
129
129
$ email = 'subscriber@example.com ' ;
130
130
$ jsonData = [
131
131
'email ' => $ email ,
132
- 'request_confirmation ' => true ,
132
+ 'requestConfirmation ' => true ,
133
133
'blacklisted ' => true ,
134
- 'html_email ' => true ,
134
+ 'htmlEmail ' => true ,
135
135
'disabled ' => true ,
136
136
];
137
137
0 commit comments