Changeset 1148 in tests for trunk/tests/option/slashes.php
- Timestamp:
- 11/21/2012 03:01:28 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/tests/option/slashes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/option/slashes.php
r1071 r1148 35 35 $this->assertEquals( $this->slash_4, get_option( 'slash_test_4' ) ); 36 36 } 37 37 38 38 /** 39 39 * Tests the model function that expects un-slashed data … … 42 42 function test_update_option() { 43 43 add_option( 'slash_test_5', 'foo' ); 44 44 45 45 update_option( 'slash_test_5', $this->slash_1 ); 46 46 $this->assertEquals( $this->slash_1, get_option( 'slash_test_5' ) );
Note: See TracChangeset
for help on using the changeset viewer.