Commit 0b1fa129 authored by beagaliana's avatar beagaliana Committed by beagaliana
Browse files

Issue #3282684: Fix Functional test compatibility

parent 26b0258e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ settings:
  form_previous_submissions: true
  form_confidential: false
  form_confidential_message: ''
  form_remote_addr: true
  form_disable_remote_addr: true
  form_convert_anonymous: false
  form_prepopulate: false
  form_prepopulate_source_entity: false
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ settings:
  form_previous_submissions: true
  form_confidential: false
  form_confidential_message: ''
  form_remote_addr: true
  form_disable_remote_addr: true
  form_convert_anonymous: false
  form_prepopulate: false
  form_prepopulate_source_entity: false
+5 −5
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ class WebformElementEntityViewTest extends WebformElementBrowserTestBase {
  /**
   * {@inheritdoc}
   */
  protected function setUp() {
  protected function setUp() : void {
    parent::setUp();
    $this->drupalCreateNode(
      [
@@ -44,8 +44,8 @@ class WebformElementEntityViewTest extends WebformElementBrowserTestBase {
   */
  public function testEntityView() {
    $this->drupalGet('/webform/entity_view_test');
    $this->assertRaw('Content of Field One');
    $this->assertNoRaw('Content of Field Two');
    $this->assertSession()->responseContains('Content of Field One');
    $this->assertSession()->responseNotContains('Content of Field Two');
  }

  /**
@@ -53,8 +53,8 @@ class WebformElementEntityViewTest extends WebformElementBrowserTestBase {
   */
  public function testEntityViewMissingEntity() {
    $this->drupalGet('/webform/entity_view_test_missing_entity');
    $this->assertNoRaw('Content of Field One');
    $this->assertNoRaw('Content of Field Two');
    $this->assertSession()->responseNotContains('Content of Field One');
    $this->assertSession()->responseNotContains('Content of Field Two');
  }

}