Skip to content

Commit 67a8782

Browse files
committed
Use SQLite query PDO statement as a proxy statement base when possible
1 parent 5da4935 commit 67a8782

File tree

2 files changed

+77
-162
lines changed

2 files changed

+77
-162
lines changed

tests/WP_SQLite_Driver_Metadata_Tests.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -687,10 +687,7 @@ public function testTruncateTable() {
687687
'TRUNCATE TABLE wp_comments;'
688688
);
689689
$actual = $this->engine->get_query_results();
690-
$this->assertEquals(
691-
true,
692-
$actual
693-
);
690+
$this->assertNull( $actual );
694691
$this->assertTableEmpty( 'wp_comments', true );
695692
}
696693

0 commit comments

Comments
 (0)