Skip to content

Commit

Permalink
Make phpstan happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ol0lll committed Sep 3, 2024
1 parent 093db0a commit c0cccdb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/src/FunctionalJavascript/ImageUploadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ public function testWebpImageUpload(): void {
$this->assertWaitOnAjaxRequest();

$this->clickCssSelector('.media-library-widget-modal .form-actions button.button--primary');
$this->assertSession()->assertExpectedAjaxRequest(1);

/** @var \Drupal\FunctionalJavascriptTests\WebDriverWebAssert $assert_session */
$assert_session = $this->assertSession();
$assert_session->assertExpectedAjaxRequest(1);

$this->assertSession()->elementTextContains('css', '.media-library-item__name', 'reference.webp');
}
Expand Down

0 comments on commit c0cccdb

Please sign in to comment.