Verified Commit 7408b779 authored by Erick Hitter's avatar Erick Hitter
Browse files

Test certain Core constants

parent 48591ba4
<?php
/**
* Class WPCCR_Misc_Test
*
* @package WP_Cron_Control_Revisited
*/
/**
* Sample test case.
*/
class WPCCR_Misc_Test extends WP_UnitTestCase {
/**
* Expected values for certain constants
*/
function test_constants() {
$this->assertTrue( defined( 'DISABLE_WP_CRON' ) );
$this->assertTrue( defined( 'ALTERNATE_WP_CRON' ) );
$this->assertTrue( constant( 'DISABLE_WP_CRON' ) );
$this->assertFalse( constant( 'ALTERNATE_WP_CRON' ) );
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment