Fixes in insert

This commit is contained in:
absurdo 2023-11-17 01:52:08 +01:00
parent 2d029548f2
commit 73713e8d51
2 changed files with 9 additions and 3 deletions

View file

@ -50,7 +50,7 @@ final class WPDOTest extends TestCase {
$this->assertEquals('table_test', $pdo->table->name);
$this->assertTrue($pdo->insert(['name', 'last_name', 'type'], ['first', 'last', '1']));
$this->assertTrue($pdo->insert(['name' => 'first', 'last_name' => 'last', 'type' => 1]));
}