PHP Class WPDbUserCest

Show file Open project: lucatume/wp-browser

Protected Properties

Property Type Description
$rolesAndLevels

Public Methods

Method Description
_after ( FunctionalTester $I )
_before ( FunctionalTester $I )
it_should_allow_adding_multiple_user_meta ( FunctionalTester $I )
it_should_allow_deleting_a_user_by_login ( FunctionalTester $I )
it_should_allow_deleting_a_user_meta ( FunctionalTester $I )
it_should_allow_grabbing_a_user_unique_meta ( FunctionalTester $I )
it_should_allow_having_many_users_in_the_database ( FunctionalTester $I )
it_should_allow_having_meta_while_having_many_users_with_number_replaced ( FunctionalTester $I )
it_should_allow_having_user_meta_while_having_many_users ( FunctionalTester $I )
it_should_allow_having_user_meta_while_having_user ( FunctionalTester $I )
it_should_allow_overriding_the_default_user_level_and_role ( FunctionalTester $I )
it_should_allow_seeing_a_user_meta_in_the_database ( FunctionalTester $I )
it_should_allow_seeing_user_in_database ( FunctionalTester $I )
it_should_allow_setting_a_user_meta_value ( FunctionalTester $I )
it_should_allow_setting_the_user_role_on_a_blog_base ( FunctionalTester $I )
it_should_insert_a_user_in_the_database ( FunctionalTester $I )
it_should_insert_a_user_in_the_database_allowing_for_user_defaults_override ( FunctionalTester $I )
it_should_not_throw_if_trying_to_delete_non_existing_meta_in_database ( FunctionalTester $I )
it_should_not_throw_if_trying_to_delete_non_existing_user ( FunctionalTester $I )
it_should_remove_a_user_from_the_database ( FunctionalTester $I )
it_should_remove_all_user_meta ( FunctionalTester $I )
it_should_replace_number_placeholder_when_having_many_users ( FunctionalTester $I )
it_should_serialize_object_user_meta_in_database ( FunctionalTester $I )
it_should_set_a_user_role_to_subscriber_by_default ( FunctionalTester $I )
it_should_set_the_user_level_to_0_by_default ( FunctionalTester $I )

Method Details

_after() public method

public _after ( FunctionalTester $I )
$I FunctionalTester

_before() public method

public _before ( FunctionalTester $I )
$I FunctionalTester

it_should_allow_adding_multiple_user_meta() public method

public it_should_allow_adding_multiple_user_meta ( FunctionalTester $I )
$I FunctionalTester

it_should_allow_deleting_a_user_by_login() public method

public it_should_allow_deleting_a_user_by_login ( FunctionalTester $I )
$I FunctionalTester

it_should_allow_deleting_a_user_meta() public method

public it_should_allow_deleting_a_user_meta ( FunctionalTester $I )
$I FunctionalTester

it_should_allow_grabbing_a_user_unique_meta() public method

public it_should_allow_grabbing_a_user_unique_meta ( FunctionalTester $I )
$I FunctionalTester

it_should_allow_having_many_users_in_the_database() public method

public it_should_allow_having_many_users_in_the_database ( FunctionalTester $I )
$I FunctionalTester

it_should_allow_having_meta_while_having_many_users_with_number_replaced() public method

public it_should_allow_having_meta_while_having_many_users_with_number_replaced ( FunctionalTester $I )
$I FunctionalTester

it_should_allow_having_user_meta_while_having_many_users() public method

public it_should_allow_having_user_meta_while_having_many_users ( FunctionalTester $I )
$I FunctionalTester

it_should_allow_having_user_meta_while_having_user() public method

public it_should_allow_having_user_meta_while_having_user ( FunctionalTester $I )
$I FunctionalTester

it_should_allow_overriding_the_default_user_level_and_role() public method

public it_should_allow_overriding_the_default_user_level_and_role ( FunctionalTester $I )
$I FunctionalTester

it_should_allow_seeing_a_user_meta_in_the_database() public method

public it_should_allow_seeing_a_user_meta_in_the_database ( FunctionalTester $I )
$I FunctionalTester

it_should_allow_seeing_user_in_database() public method

public it_should_allow_seeing_user_in_database ( FunctionalTester $I )
$I FunctionalTester

it_should_allow_setting_a_user_meta_value() public method

public it_should_allow_setting_a_user_meta_value ( FunctionalTester $I )
$I FunctionalTester

it_should_allow_setting_the_user_role_on_a_blog_base() public method

public it_should_allow_setting_the_user_role_on_a_blog_base ( FunctionalTester $I )
$I FunctionalTester

it_should_insert_a_user_in_the_database() public method

public it_should_insert_a_user_in_the_database ( FunctionalTester $I )
$I FunctionalTester

it_should_insert_a_user_in_the_database_allowing_for_user_defaults_override() public method

public it_should_insert_a_user_in_the_database_allowing_for_user_defaults_override ( FunctionalTester $I )
$I FunctionalTester

it_should_not_throw_if_trying_to_delete_non_existing_meta_in_database() public method

public it_should_not_throw_if_trying_to_delete_non_existing_meta_in_database ( FunctionalTester $I )
$I FunctionalTester

it_should_not_throw_if_trying_to_delete_non_existing_user() public method

public it_should_not_throw_if_trying_to_delete_non_existing_user ( FunctionalTester $I )
$I FunctionalTester

it_should_remove_a_user_from_the_database() public method

public it_should_remove_a_user_from_the_database ( FunctionalTester $I )
$I FunctionalTester

it_should_remove_all_user_meta() public method

public it_should_remove_all_user_meta ( FunctionalTester $I )
$I FunctionalTester

it_should_replace_number_placeholder_when_having_many_users() public method

public it_should_replace_number_placeholder_when_having_many_users ( FunctionalTester $I )
$I FunctionalTester

it_should_serialize_object_user_meta_in_database() public method

public it_should_serialize_object_user_meta_in_database ( FunctionalTester $I )
$I FunctionalTester

it_should_set_a_user_role_to_subscriber_by_default() public method

public it_should_set_a_user_role_to_subscriber_by_default ( FunctionalTester $I )
$I FunctionalTester

it_should_set_the_user_level_to_0_by_default() public method

public it_should_set_the_user_level_to_0_by_default ( FunctionalTester $I )
$I FunctionalTester

Property Details

$rolesAndLevels protected property

protected $rolesAndLevels