Remove test that expect an invalid driver error
appveyor have ODBC 13 installed on their test agent
This commit is contained in:
parent
cea2e8cc69
commit
86e3fbf466
|
@ -22,7 +22,6 @@ $conn = null;
|
|||
testValidValues();
|
||||
testInvalidValues();
|
||||
testEncryptedWithODBC();
|
||||
testWrongODBC();
|
||||
echo "Done" . PHP_EOL;
|
||||
// end test
|
||||
|
||||
|
@ -118,17 +117,6 @@ function testEncryptedWithODBC()
|
|||
connectVerifyOutput($connectionOptions, "Using ODBC 13 for AE", $expected);
|
||||
}
|
||||
|
||||
function testWrongODBC()
|
||||
{
|
||||
global $msodbcsqlMaj;
|
||||
|
||||
$value = "ODBC Driver 13 for SQL Server";
|
||||
$connectionOptions = "Driver = $value;";
|
||||
$expected = "The specified ODBC Driver is not found.";
|
||||
|
||||
connectVerifyOutput($connectionOptions, "Connect with ODBC 13", $expected);
|
||||
}
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
Done
|
||||
|
|
|
@ -20,7 +20,6 @@ sqlsrv_close($conn);
|
|||
testValidValues($msodbcsqlMaj, $server, $connectionOptions);
|
||||
testInvalidValues($msodbcsqlMaj, $server, $connectionOptions);
|
||||
testEncryptedWithODBC($msodbcsqlMaj, $server, $connectionOptions);
|
||||
testWrongODBC($msodbcsqlMaj, $server, $connectionOptions);
|
||||
echo "Done\n";
|
||||
// end test
|
||||
|
||||
|
@ -115,15 +114,6 @@ function testEncryptedWithODBC($msodbcsqlMaj, $server, $connectionOptions)
|
|||
connectVerifyOutput($server, $connectionOptions, "Using ODBC 13 for AE", $expected);
|
||||
}
|
||||
|
||||
function testWrongODBC($msodbcsqlMaj, $server, $connectionOptions)
|
||||
{
|
||||
$value = "ODBC Driver 13 for SQL Server";
|
||||
$connectionOptions['Driver']=$value;
|
||||
$expected = "The specified ODBC Driver is not found.";
|
||||
|
||||
connectVerifyOutput($server, $connectionOptions, "Connect with ODBC 13", $expected);
|
||||
}
|
||||
|
||||
?>
|
||||
--EXPECT--
|
||||
Done
|
||||
|
|
Loading…
Reference in a new issue