Changeset 48939 for trunk/tests/phpunit/tests/multisite/site.php
- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/site.php
r48937 r48939 1575 1575 $result = wp_normalize_site_data( $data ); 1576 1576 1577 $this->assert EqualSetsWithIndex( $expected, $result );1577 $this->assertSameSetsWithIndex( $expected, $result ); 1578 1578 } 1579 1579 … … 1658 1658 $this->assertEmpty( $result->errors ); 1659 1659 } else { 1660 $this->assert EqualSets( $expected_errors, array_keys( $result->errors ) );1660 $this->assertSameSets( $expected_errors, array_keys( $result->errors ) ); 1661 1661 } 1662 1662 } … … 1956 1956 1957 1957 // Check both insert and update results. 1958 $this->assert EqualSetsWithIndex( $insert_expected, $insert_result );1959 $this->assert EqualSetsWithIndex( $update_expected, $update_result );1958 $this->assertSameSetsWithIndex( $insert_expected, $insert_result ); 1959 $this->assertSameSetsWithIndex( $update_expected, $update_result ); 1960 1960 } 1961 1961 … … 2188 2188 2189 2189 $this->assertTrue( $result ); 2190 $this->assert EqualSets(2190 $this->assertSameSets( 2191 2191 array( 2192 2192 'administrator', … … 2352 2352 $this->wp_initialize_site_args = null; 2353 2353 2354 $this->assert EqualSetsWithIndex( $args, $passed_args );2354 $this->assertSameSetsWithIndex( $args, $passed_args ); 2355 2355 } 2356 2356
Note: See TracChangeset
for help on using the changeset viewer.