BoldGrid / w3-total-cache

GNU General Public License v2.0
151 stars 81 forks source link

Fix Redis test #878

Closed cssjoe closed 2 months ago

cssjoe commented 2 months ago

To test:

  1. Configure Page Cache to use Redis.
  2. Go to wp-admin/admin.php?page=w3tc_pgcache and click the test button.
  3. See the test pass.
  4. Change the server IP and/or port number to something else/invalid.
  5. Click the test button.
  6. See the test fail.

I also fixed the example port number in the description.

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 4 lines in your changes are missing coverage. Please review.

Project coverage is 4.22%. Comparing base (f9335a1) to head (c5855bc).

Files Patch % Lines
Generic_AdminActions_Test.php 0.00% 3 Missing :warning:
inc/options/parts/redis.php 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #878 +/- ## ======================================== Coverage 4.22% 4.22% Complexity 21577 21577 ======================================== Files 873 873 Lines 94971 94971 ======================================== Hits 4010 4010 Misses 90961 90961 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.