phpcs
Some checks failed
Some checks failed
This commit is contained in:
parent
63bf5d26ce
commit
2d902806ee
2 changed files with 5 additions and 2 deletions
|
@ -1 +1,4 @@
|
||||||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-components', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-i18n', 'wp-plugins'), 'version' => 'f38cf2ab9e8621193407');
|
<?php return array(
|
||||||
|
'dependencies' => array( 'react-jsx-runtime', 'wp-components', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-i18n', 'wp-plugins' ),
|
||||||
|
'version' => 'f38cf2ab9e8621193407',
|
||||||
|
);
|
||||||
|
|
|
@ -103,7 +103,7 @@ class Test_Reminder extends WP_UnitTestCase {
|
||||||
|
|
||||||
$scheduled_event = \wp_get_scheduled_event( 'activitypub_event_bridge_send_event_reminder', array( $post_id ) );
|
$scheduled_event = \wp_get_scheduled_event( 'activitypub_event_bridge_send_event_reminder', array( $post_id ) );
|
||||||
$this->assertNotEquals( false, $scheduled_event );
|
$this->assertNotEquals( false, $scheduled_event );
|
||||||
$this->assertEquals( strtotime( self::MOCKUP_EVENT['start_date'] ) - HOUR_IN_SECONDS, $scheduled_event->timestamp );
|
$this->assertEquals( strtotime( self::MOCKUP_EVENT['start_date'] ) - HOUR_IN_SECONDS, $scheduled_event->timestamp );
|
||||||
}
|
}
|
||||||
|
|
||||||
public function test_event_reminder_deleted_event() {
|
public function test_event_reminder_deleted_event() {
|
||||||
|
|
Loading…
Reference in a new issue