Changeset 47320 for branches/5.2/tests/phpunit/tests/multisite/site.php
- Timestamp:
- 02/19/2020 05:12:43 AM (5 years ago)
- Location:
- branches/5.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
-
branches/5.2/tests/phpunit/tests/multisite/site.php
r47315 r47320 1755 1755 1756 1756 $site = get_site( $site_id ); 1757 $this->assert Same( strtotime( $first_date ), strtotime( $site->registered ), 'The dates should be equal', 2 );1758 $this->assert Same( strtotime( $first_date ), strtotime( $site->last_updated ), 'The dates should be equal', 2 );1757 $this->assertEquals( strtotime( $first_date ), strtotime( $site->registered ), 'The dates should be equal', 2 ); 1758 $this->assertEquals( strtotime( $first_date ), strtotime( $site->last_updated ), 'The dates should be equal', 2 ); 1759 1759 1760 1760 $second_date = current_time( 'mysql', true ); … … 1763 1763 1764 1764 $site = get_site( $site_id ); 1765 $this->assert Same( strtotime( $first_date ), strtotime( $site->registered ), 'The dates should be equal', 2 );1766 $this->assert Same( strtotime( $second_date ), strtotime( $site->last_updated ), 'The dates should be equal', 2 );1765 $this->assertEquals( strtotime( $first_date ), strtotime( $site->registered ), 'The dates should be equal', 2 ); 1766 $this->assertEquals( strtotime( $second_date ), strtotime( $site->last_updated ), 'The dates should be equal', 2 ); 1767 1767 } 1768 1768
Note: See TracChangeset
for help on using the changeset viewer.