Update `Tests_Sanitize_Option::test_sanitize_option()` after [33858].

See #23605.

git-svn-id: https://develop.svn.wordpress.org/trunk@33907 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2015-09-05 14:17:24 +00:00
parent b0d3f5922e
commit dde7dc7145
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ class Tests_Sanitize_Option extends WP_UnitTestCase {
array( 'timezone_string', 'Europe/London', 'Europe/London' ), array( 'timezone_string', 'Europe/London', 'Europe/London' ),
array( 'timezone_string', get_option( 'timezone_string' ), 'invalid' ), array( 'timezone_string', get_option( 'timezone_string' ), 'invalid' ),
array( 'permalink_structure', '', '' ), array( 'permalink_structure', '', '' ),
array( 'permalink_structure', '/%year%/%postname%', '/%year%/ %postname%' ), array( 'permalink_structure', '/%year%/%20%postname%', '/%year%/ %postname%' ),
array( 'default_role', 'subscriber', 'subscriber' ), array( 'default_role', 'subscriber', 'subscriber' ),
array( 'default_role', 'subscriber', 'invalid' ), array( 'default_role', 'subscriber', 'invalid' ),
array( 'default_role', 'editor', 'editor' ), array( 'default_role', 'editor', 'editor' ),