• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Yoast / wordpress-seo / 32824994fe61c53fa97908a4cbabee2973c9233d

25 Sep 2025 12:39PM UTC coverage: 49.501%. First build
32824994fe61c53fa97908a4cbabee2973c9233d

Pull #22108

github

web-flow
Merge 3e4199837 into c3ee3f91c
Pull Request #22108: Fix doing it wrong in wp tests

0 of 10 new or added lines in 2 files covered. (0.0%)

17312 of 34973 relevant lines covered (49.5%)

3.91 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/conditionals/wp-tests-conditional.php
1
<?php
2

3
namespace Yoast\WP\SEO\Conditionals;
4

5
/**
6
 * Conditional that is only met when we're on Yoast's WP tests.
7
 */
8
class WP_Tests_Conditional implements Conditional {
9

10
        /**
11
         * Returns whether or not this conditional is met.
12
         *
13
         * @return bool Whether or not the conditional is met.
14
         */
NEW
15
        public function is_met() {
×
NEW
16
                return \defined( 'YOAST_WP_TESTS' ) && \YOAST_WP_TESTS;
×
17
        }
18
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc