Changeset 43531 for trunk/tests/phpunit/tests/comment/commentForm.php
- Timestamp:
- 07/24/2018 05:05:56 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/commentForm.php
r43525 r43531 88 88 $p = self::factory()->post->create(); 89 89 90 add_filter( 'option_show_comments_cookies_opt_in', '__return_true' ); 91 90 92 $args = array( 91 93 'fields' => array( … … 95 97 $form = get_echo( 'comment_form', array( $args, $p ) ); 96 98 99 remove_filter( 'option_show_comments_cookies_opt_in', '__return_true' ); 100 97 101 $this->assertRegExp( '|<p class="comment\-form\-cookies\-consent">.*?</p>|', $form ); 98 102 }
Note: See TracChangeset
for help on using the changeset viewer.