Changeset 48937 for trunk/tests/phpunit/tests/dbdelta.php
- Timestamp:
- 09/02/2020 12:35:36 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/dbdelta.php
r47198 r48937 117 117 ); 118 118 119 $this->assert Equals( $expected, $updates );120 121 $this->assert Equals(119 $this->assertSame( $expected, $updates ); 120 121 $this->assertSame( 122 122 "{$wpdb->prefix}dbdelta_create_test", 123 123 $wpdb->get_var( … … 151 151 ); 152 152 153 $this->assert Equals( array(), $updates );153 $this->assertSame( array(), $updates ); 154 154 } 155 155 … … 174 174 ); 175 175 176 $this->assert Equals(176 $this->assertSame( 177 177 array( 178 178 "{$wpdb->prefix}dbdelta_test.id" … … 203 203 ); 204 204 205 $this->assert Equals(205 $this->assertSame( 206 206 array( 207 207 "{$wpdb->prefix}dbdelta_test.extra_col" … … 236 236 ); 237 237 238 $this->assert Equals( array(), $updates );238 $this->assertSame( array(), $updates ); 239 239 240 240 $this->assertTableHasColumn( 'column_1', $wpdb->prefix . 'dbdelta_test' ); … … 263 263 ); 264 264 265 $this->assert Equals(265 $this->assertSame( 266 266 array( 267 267 "{$wpdb->prefix}dbdelta_test.extra_col" … … 284 284 ); 285 285 286 $this->assert Equals(286 $this->assertSame( 287 287 array(), 288 288 $insert
Note: See TracChangeset
for help on using the changeset viewer.