Changeset 52010 for trunk/tests/phpunit/tests/option/slashes.php
- Timestamp:
- 11/04/2021 03:22:47 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/option/slashes.php
r51568 r52010 8 8 class Tests_Option_Slashes extends WP_UnitTestCase { 9 9 10 function set_up() {10 public function set_up() { 11 11 parent::set_up(); 12 12 … … 25 25 * Tests the model function that expects un-slashed data 26 26 */ 27 function test_add_option() {27 public function test_add_option() { 28 28 add_option( 'slash_test_1', $this->slash_1 ); 29 29 add_option( 'slash_test_2', $this->slash_2 ); … … 40 40 * Tests the model function that expects un-slashed data 41 41 */ 42 function test_update_option() {42 public function test_update_option() { 43 43 add_option( 'slash_test_5', 'foo' ); 44 44
Note: See TracChangeset
for help on using the changeset viewer.