Skip to content

Commit 084bf35

Browse files
committed
Fix forms failing tests
* Added $expected_attributes['saveResponses'] = 'yes'; to the expected attributes in the test.
1 parent 399bd6d commit 084bf35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2591,6 +2591,7 @@ public function test_get_instance_from_jwt_returns_with_all_attribute_data() {
25912591
$expected_attributes['block_template'] = '';
25922592
$expected_attributes['block_template_part'] = '';
25932593
$expected_attributes['id'] = 'widget-string';
2594+
$expected_attributes['saveResponses'] = 'yes';
25942595

25952596
$form = new Contact_Form(
25962597
$attributes,

0 commit comments

Comments
 (0)