test-add-to-any.php
7 years ago
test-addthis.php
7 years ago
test-caos-host-analyticsjs-local-save-ga-local.php
7 years ago
test-caos-host-analyticsjs-local.php
6 years ago
test-custom-facebook-feed.php
7 years ago
test-facebook-for-woocommerce.php
6 years ago
test-ga-google-analytics.php
7 years ago
test-gadwp.php
6 years ago
test-google-analyticator.php
7 years ago
test-google-analytics-plus.php
7 years ago
test-google-analytics.php
7 years ago
test-hubspot-leadin.php
6 years ago
test-hubspot-tracking-code.php
7 years ago
test-instagram-feed.php
6 years ago
test-jetpack-facebook-widget.php
7 years ago
test-jetpack-goodreads-widget.php
7 years ago
test-jetpack-google-maps-widget.php
7 years ago
test-jetpack-googleplus-badge-widget.php
7 years ago
test-jetpack-internet-defense-league-widget.php
7 years ago
test-jetpack-twitter-timeline-widget.php
7 years ago
test-ninja-forms.php
7 years ago
test-optinmonster.php
7 years ago
test-pixel-caffeine.php
7 years ago
test-wd-google-analytics.php
7 years ago
test-wp-analytify.php
7 years ago
test-wp-piwik.php
7 years ago
test-ninja-forms.php
21 lines
| 1 | <?php |
| 2 | |
| 3 | namespace cookiebot_addons\tests\integration\addons; |
| 4 | |
| 5 | class Test_Ninja_Forms extends \WP_UnitTestCase { |
| 6 | |
| 7 | public function setUp() { |
| 8 | |
| 9 | } |
| 10 | |
| 11 | /** |
| 12 | * This will validate if the hook "ninja_forms" still exists |
| 13 | * |
| 14 | * @since 2.1.0 |
| 15 | */ |
| 16 | public function test_host_analyticsjs_local() { |
| 17 | $content = file_get_contents( 'http://plugins.svn.wordpress.org/ninja-forms/trunk/includes/Display/Render.php' ); |
| 18 | |
| 19 | $this->assertNotFalse( strpos( $content, 'wp_enqueue_script(\'nf-google-recaptcha\'') ); |
| 20 | } |
| 21 | } |