Skip to content

Fix. Code. Unit tests for #760 added.#779

Open
Glomberg wants to merge 5 commits intoFix-Code-Unit-test-added-for-#760-target-VIfrom
Fix-Code-Unit-test-added-for-#760-source-VI
Open

Fix. Code. Unit tests for #760 added.#779
Glomberg wants to merge 5 commits intoFix-Code-Unit-test-added-for-#760-target-VIfrom
Fix-Code-Unit-test-added-for-#760-source-VI

Conversation

@Glomberg
Copy link
Copy Markdown
Member

Glomberg and others added 3 commits March 31, 2026 21:30
…#760)

* Upd. Settings. `Bot Detector` setting - added constant.

* Upd. Settings. `Bot Detector` setting - setting to data migration added.

* Upd. Settings. `Bot Detector` setting - wrapper for bot-detector state checking added.

* Upd. Settings. `Bot Detector` setting - bot-detector state checking replaced by wrapper.

* Upd. Settings. `Bot Detector` setting - bot-detector setting removed.

* Upd. Settings. `Bot Detector` setting - actual state displayed in the `Summary`.

* Upd. Settings. `Bot Detector` setting - bot-detector state checking replaced by wrapper #2.

* Upd. Code. JS re-minified.

* Fix. Settings. Bot-Detector summary description fixed.

* Fix. Code. Unit tests fixed: `TestFluentForms`, `TestNinjaForms`.

* Fix. Code. Unit test added: `TestCleantalkSettings`.

* Fix. Code. Unit test added: `TestSummaryAndSupportRenderer`.

* Fix. Code. JS re-minified.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 12, 2026

Codecov Report

❌ Patch coverage is 25.00000% with 42 lines in your changes missing coverage. Please review.
✅ Project coverage is 14.03%. Comparing base (130be76) to head (85f710b).

Files with missing lines Patch % Lines
inc/cleantalk-settings.php 0.00% 21 Missing ⚠️
inc/cleantalk-common.php 0.00% 7 Missing ⚠️
inc/cleantalk-updater.php 0.00% 5 Missing ⚠️
inc/cleantalk-public.php 0.00% 3 Missing ⚠️
lib/Cleantalk/ApbctWP/ApbctJsBundleResolver.php 0.00% 1 Missing ⚠️
lib/Cleantalk/ApbctWP/Firewall/AntiCrawler.php 0.00% 1 Missing ⚠️
lib/Cleantalk/ApbctWP/Firewall/AntiFlood.php 0.00% 1 Missing ⚠️
lib/Cleantalk/ApbctWP/Firewall/SFW.php 0.00% 1 Missing ⚠️
...alk/ApbctWP/Localize/CtPublicFunctionsLocalize.php 0.00% 1 Missing ⚠️
...ib/Cleantalk/ApbctWP/Localize/CtPublicLocalize.php 0.00% 1 Missing ⚠️

❌ Your patch check has failed because the patch coverage (25.00%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@                                Coverage Diff                                @@
##             Fix-Code-Unit-test-added-for-#760-target-VI     #779      +/-   ##
=================================================================================
+ Coverage                                          13.27%   14.03%   +0.76%     
- Complexity                                          5480     5481       +1     
=================================================================================
  Files                                                262      262              
  Lines                                              27172    27134      -38     
=================================================================================
+ Hits                                                3606     3809     +203     
+ Misses                                             23566    23325     -241     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant