Changeset 47319
- Timestamp:
- 02/19/2020 05:12:22 AM (3 years ago)
- Location:
- branches/5.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.3
-
branches/5.3/tests/phpunit/tests/multisite/site.php
r47314 r47319 1769 1769 1770 1770 $site = get_site( $site_id ); 1771 $this->assert Same( strtotime( $first_date ), strtotime( $site->registered ), 'The dates should be equal', 2 );1772 $this->assert Same( strtotime( $first_date ), strtotime( $site->last_updated ), 'The dates should be equal', 2 );1771 $this->assertEquals( strtotime( $first_date ), strtotime( $site->registered ), 'The dates should be equal', 2 ); 1772 $this->assertEquals( strtotime( $first_date ), strtotime( $site->last_updated ), 'The dates should be equal', 2 ); 1773 1773 1774 1774 $second_date = current_time( 'mysql', true ); … … 1777 1777 1778 1778 $site = get_site( $site_id ); 1779 $this->assert Same( strtotime( $first_date ), strtotime( $site->registered ), 'The dates should be equal', 2 );1780 $this->assert Same( strtotime( $second_date ), strtotime( $site->last_updated ), 'The dates should be equal', 2 );1779 $this->assertEquals( strtotime( $first_date ), strtotime( $site->registered ), 'The dates should be equal', 2 ); 1780 $this->assertEquals( strtotime( $second_date ), strtotime( $site->last_updated ), 'The dates should be equal', 2 ); 1781 1781 } 1782 1782
Note: See TracChangeset
for help on using the changeset viewer.