group meta
package GlotPress
inherited_from \GP_UnitTestCase

 Methods

clean_up_global_scope()

clean_up_global_scope() 
Inherited

data_meta_keys()

data_meta_keys() 

setUp()

setUp() 
Inherited

set_admin_user_as_current()

set_admin_user_as_current() 
Inherited

set_normal_user_as_current()

set_normal_user_as_current() 
Inherited

test_delete_meta_with_value_should_delete_only_meta_with_value()

test_delete_meta_with_value_should_delete_only_meta_with_value() 

test_delete_meta_without_value_should_delete_meta()

test_delete_meta_without_value_should_delete_meta() 

test_get_meta_uses_cache()

test_get_meta_uses_cache() 
ticket 480

test_get_meta_without_meta_key()

test_get_meta_without_meta_key() 
ticket 480

test_gp_delete_meta_returns_false_for_falsely_object_ids()

test_gp_delete_meta_returns_false_for_falsely_object_ids() 

test_gp_get_meta_returns_false_for_falsely_object_ids()

test_gp_get_meta_returns_false_for_falsely_object_ids() 

test_gp_get_meta_returns_false_for_falsely_object_types()

test_gp_get_meta_returns_false_for_falsely_object_types() 

test_gp_sanitize_meta_key()

test_gp_sanitize_meta_key($expected, $meta_key) 
dataProvider data_meta_keys

Parameters

$expected

$meta_key

test_gp_update_meta_does_not_update_if_prev_value_equals_new_value()

test_gp_update_meta_does_not_update_if_prev_value_equals_new_value() 

test_gp_update_meta_returns_false_for_falsely_object_ids()

test_gp_update_meta_returns_false_for_falsely_object_ids() 

test_gp_update_meta_updates_an_existing_meta_value()

test_gp_update_meta_updates_an_existing_meta_value() 

test_update_meta_should_set_meta()

test_update_meta_should_set_meta() 

 Properties

 

$factory

$factory : \GP_UnitTest_Factory

Default

 

$url

$url : string

Default

'http://example.org/'