Changeset 48937 for trunk/tests/phpunit/tests/admin/includesSchema.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/admin/includesSchema.php
r48124 r48937 111 111 $wpdb->options = $orig_options; 112 112 113 $this->assert Equals( $expected, $results );113 $this->assertSame( $expected, $results ); 114 114 } 115 115 … … 120 120 array( 121 121 // Random options to check. 122 'posts_per_rss' => 10,123 'rss_use_excerpt' => 0,122 'posts_per_rss' => '10', 123 'rss_use_excerpt' => '0', 124 124 'mailserver_url' => 'mail.example.com', 125 125 'mailserver_login' => 'login@example.com', … … 129 129 array( 130 130 array( 131 'posts_per_rss' => 7,132 'rss_use_excerpt' => 1,131 'posts_per_rss' => '7', 132 'rss_use_excerpt' => '1', 133 133 ), 134 134 array( 135 135 // Random options to check. 136 'posts_per_rss' => 7,137 'rss_use_excerpt' => 1,136 'posts_per_rss' => '7', 137 'rss_use_excerpt' => '1', 138 138 'mailserver_url' => 'mail.example.com', 139 139 'mailserver_login' => 'login@example.com', … … 148 148 // Random options to check. 149 149 'custom_option' => '1', 150 'posts_per_rss' => 10,151 'rss_use_excerpt' => 0,150 'posts_per_rss' => '10', 151 'rss_use_excerpt' => '0', 152 152 'mailserver_url' => 'mail.example.com', 153 153 'mailserver_login' => 'login@example.com', … … 201 201 $wpdb->blogmeta = $orig_blogmeta; 202 202 203 $this->assert Equals( $expected, $results );203 $this->assertSame( $expected, $results ); 204 204 } 205 205 … … 249 249 $wpdb->sitemeta = $orig_sitemeta; 250 250 251 $this->assert Equals( $expected, $results );251 $this->assertSame( $expected, $results ); 252 252 } 253 253 … … 259 259 // Random meta to check. 260 260 'registration' => 'none', 261 'blog_upload_space' => 100,262 'fileupload_maxk' => 1500,261 'blog_upload_space' => '100', 262 'fileupload_maxk' => '1500', 263 263 ), 264 264 ), … … 272 272 'site_name' => 'My Great Network', 273 273 'registration' => 'none', 274 'blog_upload_space' => 100,275 'fileupload_maxk' => 1500,274 'blog_upload_space' => '100', 275 'fileupload_maxk' => '1500', 276 276 'WPLANG' => 'fr_FR', 277 277 ), … … 285 285 'custom_meta' => '1', 286 286 'registration' => 'none', 287 'blog_upload_space' => 100,288 'fileupload_maxk' => 1500,287 'blog_upload_space' => '100', 288 'fileupload_maxk' => '1500', 289 289 ), 290 290 ),
Note: See TracChangeset
for help on using the changeset viewer.