Update namespaces
This commit is contained in:
16
tests/MySQLInsertTest.php
Normal file
16
tests/MySQLInsertTest.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class MySQLInsertTest extends TestCase
|
||||
{
|
||||
public function testBaseQuery(): void
|
||||
{
|
||||
$query = new Database\Implement\Query\MySQL\Insert();
|
||||
$query->into('test_table');
|
||||
$query->values('?, ?, ?');
|
||||
|
||||
$expected = "INSERT INTO `test_table` VALUES (?, ?, ?)";
|
||||
|
||||
$this->assertEquals($expected, "{$query}");
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user