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