Changeset 52010 for trunk/tests/phpunit/tests/user/slashes.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/user/slashes.php
r51568 r52010 15 15 } 16 16 17 function set_up() {17 public function set_up() { 18 18 parent::set_up(); 19 19 … … 34 34 * Tests the controller function that expects slashed data. 35 35 */ 36 function test_add_user() {36 public function test_add_user() { 37 37 $_POST = array(); 38 38 $_GET = array(); … … 89 89 * Tests the controller function that expects slashed data. 90 90 */ 91 function test_edit_user() {91 public function test_edit_user() { 92 92 $user_id = self::$user_id; 93 93 … … 140 140 * Tests the model function that expects slashed data. 141 141 */ 142 function test_wp_insert_user() {142 public function test_wp_insert_user() { 143 143 $user_id = wp_insert_user( 144 144 array( … … 187 187 * Tests the model function that expects slashed data. 188 188 */ 189 function test_wp_update_user() {189 public function test_wp_update_user() { 190 190 $user_id = self::$user_id; 191 191 $user_id = wp_update_user(
Note: See TracChangeset
for help on using the changeset viewer.