Fixes in insert
This commit is contained in:
parent
2d029548f2
commit
73713e8d51
2 changed files with 9 additions and 3 deletions
|
|
@ -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]));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue