Changeset 30320 for trunk/tests/phpunit/tests/db.php
- Timestamp:
- 11/13/2014 01:59:49 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/db.php
r30297 r30320 483 483 } 484 484 485 $ this->factory->post->create();485 $post_id = $this->factory->post->create(); 486 486 487 487 $this->assertNotEmpty( $wpdb->get_results( 'CALL `test_mysqli_flush_sync_procedure`' ) ); 488 488 $this->assertNotEmpty( $wpdb->get_results( "SELECT ID FROM `{$wpdb->posts}` LIMIT 1" ) ); 489 489 490 // DROP PROCEDURE will cause a COMMIT, so we delete the post manually before that happens. 491 wp_delete_post( $post_id, true ); 492 490 493 $wpdb->query( 'DROP PROCEDURE IF EXISTS `test_mysqli_flush_sync_procedure`' ); 491 494 $wpdb->suppress_errors( $suppress );
Note: See TracChangeset
for help on using the changeset viewer.