You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
616 B
32 lines
616 B
12 years ago
|
<?php
|
||
|
|
||
|
namespace yiiunit\framework\db\mssql;
|
||
|
|
||
|
class MssqlCommandTest extends \yiiunit\framework\db\CommandTest
|
||
|
{
|
||
|
public function setUp()
|
||
|
{
|
||
|
$this->driverName = 'sqlsrv';
|
||
|
parent::setUp();
|
||
|
}
|
||
|
|
||
|
function testAutoQuoting()
|
||
|
{
|
||
|
$db = $this->getConnection(false);
|
||
|
|
||
|
$sql = 'SELECT [[id]], [[t.name]] FROM {{tbl_customer}} t';
|
||
|
$command = $db->createCommand($sql);
|
||
|
$this->assertEquals("SELECT [id], [t].[name] FROM [tbl_customer] t", $command->sql);
|
||
|
}
|
||
|
|
||
|
function testPrepareCancel()
|
||
|
{
|
||
|
$this->markTestIncomplete();
|
||
|
}
|
||
|
|
||
|
function testBindParamValue()
|
||
|
{
|
||
|
$this->markTestIncomplete();
|
||
|
}
|
||
|
}
|