@@ -106,10 +106,10 @@ public static function invalidSubscriberDataProvider(): array
106106 'email is an empty string ' => [['email ' => '' ]],
107107 'email is invalid string ' => [['email ' => 'coffee and cigarettes ' ]],
108108 '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 ]],
113113 ];
114114 }
115115
@@ -129,9 +129,9 @@ public function testPostSubscribersWithValidSessionKeyAssignsProvidedSubscriberD
129129 $ email = 'subscriber@example.com ' ;
130130 $ jsonData = [
131131 'email ' => $ email ,
132- 'request_confirmation ' => true ,
132+ 'requestConfirmation ' => true ,
133133 'blacklisted ' => true ,
134- 'html_email ' => true ,
134+ 'htmlEmail ' => true ,
135135 'disabled ' => true ,
136136 ];
137137
0 commit comments