package | GlotPress |
---|---|
inherited_from | \GP_UnitTestCase |
assertRedirect()
assertResponseContains($needle)
assertResponseNotContains($needle)
clean_up_global_scope()
get($uri, $get_vars = array()
)
post($uri, $get_vars = array()
)
setUp()
set_admin_user_as_current()
set_normal_user_as_current()
set_permalink_structure(string $structure = ''
)
Also updates the pre_option filter for permalink_structure
.
global | WP_Rewrite $wp_rewrite |
---|
string
Optional. Permalink structure to set. Default empty.
request($uri, $method, $vars)
$body
null
$factory : \GP_UnitTest_Factory
$url : string
'http://example.org/'