Commit e4511d9a authored by Jeremy Mikola's avatar Jeremy Mikola

Test for invalid ReadConcern options

parent f8929259
......@@ -47,6 +47,10 @@ class CollectionFunctionalTest extends FunctionalTestCase
{
$options = [];
foreach ($this->getInvalidReadConcernValues() as $value) {
$options[][] = ['readConcern' => $value];
}
foreach ($this->getInvalidReadPreferenceValues() as $value) {
$options[][] = ['readPreference' => $value];
}
......
......@@ -44,6 +44,10 @@ class DatabaseFunctionalTest extends FunctionalTestCase
{
$options = [];
foreach ($this->getInvalidReadConcernValues() as $value) {
$options[][] = ['readConcern' => $value];
}
foreach ($this->getInvalidReadPreferenceValues() as $value) {
$options[][] = ['readPreference' => $value];
}
......
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