Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
kagg-design committed Feb 1, 2025
1 parent 24583a3 commit 9cd6ddd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .tests/php/unit/Settings/EventsPageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@ static function ( $name ) use ( $plugin_url, $plugin_version ) {
ListPageBase::HANDLE,
ListPageBase::OBJECT,
[
'ajaxUrl' => 'admin-ajax.php',
'bulkAction' => ListPageBase::BULK_ACTION,
'bulkNonce' => $nonce,
'noAction' => 'Please select a bulk action.',
'noItems' => 'Please select at least one item to perform this action on.',
'DoingBulk' => 'Doing bulk action...',
Expand All @@ -273,6 +270,9 @@ static function ( $name ) use ( $plugin_url, $plugin_version ) {
EventsPage::HANDLE,
EventsPage::OBJECT,
[
'ajaxUrl' => 'admin-ajax.php',
'bulkAction' => EventsPage::BULK_ACTION,
'bulkNonce' => $nonce,
'succeed' => $succeed,
'failed' => $failed,
'succeedLabel' => __( 'Succeed', 'hcaptcha-for-forms-and-more' ),
Expand Down
6 changes: 3 additions & 3 deletions .tests/php/unit/Settings/FormsPageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@ static function ( $name ) use ( $plugin_url, $plugin_version ) {
ListPageBase::HANDLE,
ListPageBase::OBJECT,
[
'ajaxUrl' => 'admin-ajax.php',
'bulkAction' => ListPageBase::BULK_ACTION,
'bulkNonce' => $nonce,
'noAction' => 'Please select a bulk action.',
'noItems' => 'Please select at least one item to perform this action on.',
'DoingBulk' => 'Doing bulk action...',
Expand All @@ -264,6 +261,9 @@ static function ( $name ) use ( $plugin_url, $plugin_version ) {
FormsPage::HANDLE,
FormsPage::OBJECT,
[
'ajaxUrl' => 'admin-ajax.php',
'bulkAction' => FormsPage::BULK_ACTION,
'bulkNonce' => $nonce,
'served' => $served,
'servedLabel' => __( 'Served', 'hcaptcha-for-forms-and-more' ),
'unit' => $unit,
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,7 @@ Instructions for popular native integrations are below:
* Added compatibility with Cookies and Content Security Policy plugin.
* Added auto-verification of arbitrary forms in ajax.
* Added deletion of events on the Forms page.
* Added deletion of events on the Events page.
* Improved error messaging for hCaptcha verification.
* Fixed IP detection in the WordPress core via filter, to sync with hCaptcha events information when the IP collection is activated.
* Fixed fatal error with the WPForms plugin in rare cases.
Expand Down

0 comments on commit 9cd6ddd

Please sign in to comment.