PHP Class Automattic\WP\Cron_Control\Tests\Cron_Options_CPT_Tests

Inheritance: extends WP_UnitTestCase
Datei anzeigen Open project: Automattic/vip-mu-plugins-public

Public Methods

Method Description
test_cpt_exists ( ) Custom post type exists
test_event_unscheduling_against_cpt ( ) Test that events are unscheduled correctly by checking the CPT
test_event_unscheduling_using_core_functions ( ) Test that events are unscheduled correctly using Core functions
test_events_exist ( ) Check that an event is stored properly in a CPT entry
test_filter_cron_option_get ( ) Check format of filtered array returned from CPT

Method Details

test_cpt_exists() public method

Custom post type exists
public test_cpt_exists ( )

test_event_unscheduling_against_cpt() public method

Test that events are unscheduled correctly by checking the CPT

test_event_unscheduling_using_core_functions() public method

Test that events are unscheduled correctly using Core functions

test_events_exist() public method

Check that an event is stored properly in a CPT entry
public test_events_exist ( )

test_filter_cron_option_get() public method

Check format of filtered array returned from CPT