Skip to content

Commit

Permalink
Use assert session method (instead of our own overridden one)
Browse files Browse the repository at this point in the history
  • Loading branch information
ol0lll committed Sep 3, 2024
1 parent 0fddc49 commit 093db0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/src/FunctionalJavascript/ImageUploadTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function testWebpImageUpload(): void {
$this->assertWaitOnAjaxRequest();

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

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

0 comments on commit 093db0a

Please sign in to comment.