Commit 72d3b6c0 authored by Paulo Henrique Cota Starling's avatar Paulo Henrique Cota Starling Committed by Dave Reid
Browse files

Issue #3183465 by paulocs: Replace deprecated drpualPostForm with submitForm().

parent 2ff17ea4
Loading
Loading
Loading
Loading
+1 −1
Changes for tests/src/Functional/EntityEmbedDialogTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ class EntityEmbedDialogTest extends EntityEmbedTestBase {
      'entity_id' => $this->node->getTitle() . ' (' . $this->node->id() . ')',
    ];
    $this->drupalGet('/entity-embed/dialog/custom_format/node');
    $this->drupalPostForm(NULL, $edit, t('Next'));
    $this->submitForm($edit, 'Next');
    // Tests that the embed dialog doesn't trow a fatal in
    // ImageFieldFormatter::isValidImage()
    $this->assertSession()->statusCodeEquals(200);