Skip to content
Snippets Groups Projects

Update machine name

Open David Cameron requested to merge issue/drupal-3438739:3438739-machine-name-D11 into 11.x
1 unresolved thread

Closes #3438739

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
147 156 $this->assertNotEmpty($machine_name_2_value, 'Machine name field 2 must be initialized');
148 157 $this->assertNotEmpty($machine_name_3_value, 'Machine name field 3 must be initialized');
149 158
150 // Assert that a machine name based on a default value is initialized.
151 $this->assertJsCondition('jQuery("#edit-machine-name-3-label-machine-name-suffix .machine-name-value").html() == "yet_another_machine_name"');
  • The form is submitted on line 152 (post-patch). I moved this assertion up in the test so that it's executed before the submission due to concerns that the submission might affect the results.

  • Please register or sign in to reply
Please register or sign in to reply
Loading