@@ -4202,7 +4202,7 @@ public function getReservedPrefixTestData(): array {
42024202 * @dataProvider getInformationSchemaIsReadonlyTestData
42034203 */
42044204 public function testInformationSchemaIsReadonly ( string $ query ): void {
4205- $ this ->assertQuery ( 'CREATE TABLE t1 (id INT) ' );
4205+ $ this ->assertQuery ( 'CREATE TABLE tables (id INT) ' );
42064206 $ this ->expectException ( WP_SQLite_Driver_Exception::class );
42074207 $ this ->expectExceptionMessage ( "Access denied for user 'sqlite'@'%' to database 'information_schema' " );
42084208 $ this ->assertQuery ( $ query );
@@ -4234,7 +4234,7 @@ public function getInformationSchemaIsReadonlyTestData(): array {
42344234 * @dataProvider getInformationSchemaIsReadonlyWithUseTestData
42354235 */
42364236 public function testInformationSchemaIsReadonlyWithUse ( string $ query ): void {
4237- $ this ->assertQuery ( 'CREATE TABLE t1 (id INT) ' );
4237+ $ this ->assertQuery ( 'CREATE TABLE tables (id INT) ' );
42384238 $ this ->expectException ( WP_SQLite_Driver_Exception::class );
42394239 $ this ->expectExceptionMessage ( "Access denied for user 'sqlite'@'%' to database 'information_schema' " );
42404240 $ this ->assertQuery ( 'USE information_schema ' );
@@ -4244,7 +4244,7 @@ public function testInformationSchemaIsReadonlyWithUse( string $query ): void {
42444244 public function getInformationSchemaIsReadonlyWithUseTestData (): array {
42454245 return array (
42464246 array ( 'INSERT INTO tables (table_name) VALUES ("t") ' ),
4247- array ( 'REPLACE INTOtables (table_name) VALUES ("t") ' ),
4247+ array ( 'REPLACE INTO tables (table_name) VALUES ("t") ' ),
42484248 array ( 'UPDATE tables SET table_name = "new_t" WHERE table_name = "t" ' ),
42494249 array ( 'UPDATE tables, columns SET table_name = "new_t" WHERE table_name = "t" ' ),
42504250 array ( 'DELETE FROM tables WHERE table_name = "t" ' ),
0 commit comments