Changeset 47318 for trunk/tests/phpunit/tests/multisite/site.php
- Timestamp:
- 02/19/2020 04:38:39 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/site.php
r47313 r47318 1767 1767 1768 1768 $site = get_site( $site_id ); 1769 $this->assert Same( strtotime( $first_date ), strtotime( $site->registered ), 'The dates should be equal', 2 );1770 $this->assert Same( strtotime( $first_date ), strtotime( $site->last_updated ), 'The dates should be equal', 2 );1769 $this->assertEquals( strtotime( $first_date ), strtotime( $site->registered ), 'The dates should be equal', 2 ); 1770 $this->assertEquals( strtotime( $first_date ), strtotime( $site->last_updated ), 'The dates should be equal', 2 ); 1771 1771 1772 1772 $second_date = current_time( 'mysql', true ); … … 1775 1775 1776 1776 $site = get_site( $site_id ); 1777 $this->assert Same( strtotime( $first_date ), strtotime( $site->registered ), 'The dates should be equal', 2 );1778 $this->assert Same( strtotime( $second_date ), strtotime( $site->last_updated ), 'The dates should be equal', 2 );1777 $this->assertEquals( strtotime( $first_date ), strtotime( $site->registered ), 'The dates should be equal', 2 ); 1778 $this->assertEquals( strtotime( $second_date ), strtotime( $site->last_updated ), 'The dates should be equal', 2 ); 1779 1779 } 1780 1780
Note: See TracChangeset
for help on using the changeset viewer.