Changeset 52010 for trunk/tests/phpunit/tests/comment/slashes.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/comment/slashes.php
r51568 r52010 16 16 } 17 17 18 function set_up() {18 public function set_up() { 19 19 parent::set_up(); 20 20 … … 35 35 * Tests the extended model function that expects slashed data. 36 36 */ 37 function test_wp_new_comment() {37 public function test_wp_new_comment() { 38 38 $post_id = self::$post_id; 39 39 … … 74 74 * Tests the controller function that expects slashed data. 75 75 */ 76 function test_edit_comment() {76 public function test_edit_comment() { 77 77 $post_id = self::$post_id; 78 78 $comment_id = self::factory()->comment->create( … … 120 120 * Tests the model function that expects slashed data. 121 121 */ 122 function test_wp_insert_comment() {122 public function test_wp_insert_comment() { 123 123 $post_id = self::$post_id; 124 124 … … 151 151 * Tests the model function that expects slashed data. 152 152 */ 153 function test_wp_update_comment() {153 public function test_wp_update_comment() { 154 154 $post_id = self::$post_id; 155 155 $comment_id = self::factory()->comment->create(
Note: See TracChangeset
for help on using the changeset viewer.