Changeset 48939 for trunk/tests/phpunit/tests/ajax/ManageThemes.php
- Timestamp:
- 09/04/2020 07:01:00 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/ManageThemes.php
r47198 r48939 71 71 ); 72 72 73 $this->assert EqualSets( $expected, $response );73 $this->assertSameSets( $expected, $response ); 74 74 } 75 75 … … 93 93 'update' => 'theme', 94 94 'slug' => 'foo', 95 'errorMessage' => 'Sorry, you are not allowed to update themes for this site.',96 95 'oldVersion' => '', 97 96 'newVersion' => '', 97 'errorMessage' => 'Sorry, you are not allowed to update themes for this site.', 98 98 ), 99 99 ); 100 100 101 $this->assert EqualSets( $expected, $response );101 $this->assertSameSets( $expected, $response ); 102 102 } 103 103 … … 129 129 'update' => 'theme', 130 130 'slug' => 'twentyten', 131 'errorMessage' => 'The theme is at the latest version.',132 131 'oldVersion' => $theme->get( 'Version' ), 133 132 'newVersion' => '', 134 133 'debug' => array( 'The theme is at the latest version.' ), 134 'errorMessage' => 'The theme is at the latest version.', 135 135 ), 136 136 ); 137 137 138 $this->assert EqualSets( $expected, $response );138 $this->assertSameSets( $expected, $response ); 139 139 } 140 140 … … 162 162 'oldVersion' => '1.0', 163 163 'newVersion' => '', 164 'debug' => array( 'The theme is at the latest version.' ), 164 165 'errorMessage' => 'The theme is at the latest version.', 165 'debug' => array( 'The theme is at the latest version.' ),166 166 ), 167 167 ); 168 168 169 $this->assert EqualSets( $expected, $response );169 $this->assertSameSets( $expected, $response ); 170 170 } 171 171 }
Note: See TracChangeset
for help on using the changeset viewer.