mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Includes removing `.php` from some older group names, because most of the groups are no longer named based on the file containing the function, and sometimes functions move around, making the file-based group name inaccurate. Props afercia, aristath, poena, SergeyBiryukov. See #59647. git-svn-id: https://develop.svn.wordpress.org/trunk@56971 602fd350-edb4-49c9-b593-d223f7449a82
18 lines
300 B
PHP
18 lines
300 B
PHP
<?php
|
|
|
|
/**
|
|
* @group date
|
|
* @group datetime
|
|
*
|
|
* @covers ::current_datetime
|
|
*/
|
|
class Tests_Date_CurrentDatetime extends WP_UnitTestCase {
|
|
|
|
/**
|
|
* @ticket 53484
|
|
*/
|
|
public function test_current_datetime_return_type() {
|
|
$this->assertInstanceOf( 'DateTimeImmutable', current_datetime() );
|
|
}
|
|
}
|