-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #791 from yitam/fixODBC13tests
For these AKV tests check env despite not AE connected
- Loading branch information
Showing
8 changed files
with
36 additions
and
6 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
test/functional/pdo_sqlsrv/pdo_ae_azure_key_vault_client_secret.phpt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
test/functional/pdo_sqlsrv/pdo_ae_azure_key_vault_keywords.phpt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
test/functional/pdo_sqlsrv/pdo_ae_azure_key_vault_username_password.phpt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
if (!extension_loaded("pdo") || !extension_loaded('pdo_sqlsrv')) { | ||
die("PDO driver cannot be loaded; skipping test.\n"); | ||
} | ||
|
||
require_once("MsSetup.inc"); | ||
require_once("MsCommon_mid-refactor.inc"); | ||
|
||
$dsn = getDSN($server, null); | ||
$conn = new PDO($dsn, $uid, $pwd); | ||
if (! $conn) { | ||
echo("Error: could not connect during SKIPIF!"); | ||
} elseif (!isAEQualified($conn)) { | ||
die("skip - AE feature not supported in the current environment."); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
if (! extension_loaded("sqlsrv")) { | ||
die("skip extension not loaded"); | ||
} | ||
|
||
require_once('MsCommon.inc'); | ||
|
||
$conn = AE\connect(); | ||
if (! $conn) { | ||
echo("Error: could not connect during SKIPIF!"); | ||
} elseif (!AE\isQualified($conn)) { | ||
die("skip - AE feature not supported in the current environment."); | ||
} | ||
?> |
2 changes: 1 addition & 1 deletion
2
test/functional/sqlsrv/sqlsrv_ae_azure_key_vault_client_secret.phpt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
test/functional/sqlsrv/sqlsrv_ae_azure_key_vault_username_password.phpt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters