Commit bfcda32f authored by Jeremy Mikola's avatar Jeremy Mikola

Suppress risky test warnings in DocumentationExamplesTest

parent 8c7a92cc
...@@ -1232,6 +1232,8 @@ class DocumentationExamplesTest extends FunctionalTestCase ...@@ -1232,6 +1232,8 @@ class DocumentationExamplesTest extends FunctionalTestCase
{ {
$this->skipIfTransactionsAreNotSupported(); $this->skipIfTransactionsAreNotSupported();
$this->assertNotNull('This test intentionally performs no assertions');
$client = new Client(static::getUri()); $client = new Client(static::getUri());
/* The WC is required: https://docs.mongodb.com/manual/core/transactions/#transactions-and-locks */ /* The WC is required: https://docs.mongodb.com/manual/core/transactions/#transactions-and-locks */
...@@ -1392,6 +1394,8 @@ class DocumentationExamplesTest extends FunctionalTestCase ...@@ -1392,6 +1394,8 @@ class DocumentationExamplesTest extends FunctionalTestCase
{ {
$this->skipIfTransactionsAreNotSupported(); $this->skipIfTransactionsAreNotSupported();
$this->assertNotNull('This test intentionally performs no assertions');
$client = new Client(static::getUri()); $client = new Client(static::getUri());
/* The WC is required: https://docs.mongodb.com/manual/core/transactions/#transactions-and-locks */ /* The WC is required: https://docs.mongodb.com/manual/core/transactions/#transactions-and-locks */
...@@ -1420,6 +1424,8 @@ class DocumentationExamplesTest extends FunctionalTestCase ...@@ -1420,6 +1424,8 @@ class DocumentationExamplesTest extends FunctionalTestCase
$this->markTestSkipped('Secondary is not available'); $this->markTestSkipped('Secondary is not available');
} }
$this->assertNotNull('This test intentionally performs no assertions');
// Prep // Prep
$client = new Client(static::getUri()); $client = new Client(static::getUri());
$items = $client->selectDatabase( $items = $client->selectDatabase(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment