Skip to content

Commit 30558f2

Browse files
committed
We don't need to debug this test anymore
1 parent c1630c4 commit 30558f2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

tests/connect/standalone-ssl-0002.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ $opts = array(
4444
);
4545
$context = stream_context_create($opts);
4646

47-
$mc = new MongoDB\Driver\Manager($dsn, array(), array("context" => $context, "debug" => STDERR));
47+
$mc = new MongoDB\Driver\Manager($dsn, array(), array("context" => $context));
4848

4949

5050
echo throws(function() use($mc) {

tests/connect/standalone-x509-0001.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $parsed = parse_url(MONGODB_STANDALONE_X509_URI);
3434
$adminuser = "root";
3535
$adminpass = "toor";
3636
$dsn = sprintf("mongodb://%s:%s@%s:%d/admin?ssl=true", $adminuser, $adminpass, $parsed["host"], $parsed["port"]);
37-
$adminmanager = new MongoDB\Driver\Manager($dsn, array(), array("context" => $context, "debug" => STDERR));
37+
$adminmanager = new MongoDB\Driver\Manager($dsn, array(), array("context" => $context));
3838

3939
$certusername = "C=US,ST=New York,L=New York City,O=MongoDB,OU=KernelUser,CN=client";
4040

@@ -56,7 +56,7 @@ try {
5656
$parsed = parse_url(MONGODB_STANDALONE_X509_URI);
5757
$dsn = sprintf("mongodb://%s@%s:%d/%s?ssl=true&authMechanism=MONGODB-X509", $certusername, $parsed["host"], $parsed["port"], DATABASE_NAME);
5858

59-
$manager = new MongoDB\Driver\Manager($dsn, array(), array("context" => $context, "debug" => STDERR));
59+
$manager = new MongoDB\Driver\Manager($dsn, array(), array("context" => $context));
6060

6161
$batch = new MongoDB\Driver\WriteBatch();
6262
$batch->insert(array("very" => "important"));

tests/connect/standalone-x509-0002.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ $parsed = parse_url(MONGODB_STANDALONE_X509_URI);
3434
$adminuser = "root";
3535
$adminpass = "toor";
3636
$dsn = sprintf("mongodb://%s:%s@%s:%d/admin?ssl=true", $adminuser, $adminpass, $parsed["host"], $parsed["port"]);
37-
$adminmanager = new MongoDB\Driver\Manager($dsn, array(), array("context" => $context, "debug" => "stderr"));
37+
$adminmanager = new MongoDB\Driver\Manager($dsn, array(), array("context" => $context));
3838

3939
$certusername = "C=US,ST=New York,L=New York City,O=MongoDB,OU=KernelUser,CN=client";
4040

@@ -57,7 +57,7 @@ try {
5757
$parsed = parse_url(MONGODB_STANDALONE_X509_URI);
5858
$dsn = sprintf("mongodb://%s:%d/%s?ssl=true&authMechanism=MONGODB-X509", $parsed["host"], $parsed["port"], DATABASE_NAME);
5959

60-
$manager = new MongoDB\Driver\Manager($dsn, array(), array("context" => $context, "debug" => "stderr"));
60+
$manager = new MongoDB\Driver\Manager($dsn, array(), array("context" => $context));
6161

6262
$batch = new MongoDB\Driver\WriteBatch();
6363
$batch->insert(array("very" => "important"));

0 commit comments

Comments
 (0)