File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -6149,7 +6149,7 @@ public function testGetLegacyFormHTML()
6149
6149
{
6150
6150
$ result = $ this ->api ->get_form_html ($ _ENV ['CONVERTKIT_API_LEGACY_FORM_ID ' ], $ _ENV ['CONVERTKIT_API_KEY ' ]);
6151
6151
$ this ->assertNotInstanceOf (WP_Error::class, $ result );
6152
- $ this ->assertStringContainsString ('<form id="ck_subscribe_form" class="ck_subscribe_form" action="https://api.kit .com/landing_pages/ ' . $ _ENV ['CONVERTKIT_API_LEGACY_FORM_ID ' ] . '/subscribe" data-remote="true"> ' , $ result );
6152
+ $ this ->assertStringContainsString ('<form id="ck_subscribe_form" class="ck_subscribe_form" action="https://api.convertkit .com/landing_pages/ ' . $ _ENV ['CONVERTKIT_API_LEGACY_FORM_ID ' ] . '/subscribe" data-remote="true"> ' , $ result );
6153
6153
6154
6154
// Assert that the API class' manually added UTF-8 Content-Type has been removed prior to output.
6155
6155
$ this ->assertStringNotContainsString ('<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> ' , $ result );
You can’t perform that action at this time.
0 commit comments