Skip to content

Commit b7b00ca

Browse files
committed
update tests
1 parent 45ea3e0 commit b7b00ca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/packages/forms/tests/php/contact-form/Contact_Form_Test.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2831,6 +2831,7 @@ public function test_get_instance_from_jwt_returns_with_all_attribute_data() {
28312831
'mailpoet' => '',
28322832
'emailNotifications' => 'yes',
28332833
'disableGoBack' => false,
2834+
'formTitle' => 'Test Form',
28342835
);
28352836
// Add a widget ID to the attributes for testing.
28362837
$expected_attributes = $attributes;
@@ -2844,7 +2845,7 @@ public function test_get_instance_from_jwt_returns_with_all_attribute_data() {
28442845
$expected_attributes['disableSummary'] = '';
28452846
$expected_attributes['confirmationType'] = '';
28462847
$expected_attributes['hostingerReach'] = '';
2847-
2848+
$expected_attributes['formTitle'] = 'Test Form';
28482849
$form = new Contact_Form(
28492850
$attributes,
28502851
"[contact-field label='Name' type='name' required='1'/]"

0 commit comments

Comments
 (0)