Skip to content

Commit

Permalink
PHPLIB-1409: Convert default write concern tests to unified test format
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Mar 12, 2024
1 parent 4c553ad commit ce238d4
Show file tree
Hide file tree
Showing 5 changed files with 1,204 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/UnifiedSpecTests/UnifiedSpecTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,17 @@ public function provideLoadBalancers()
return $this->provideTests(__DIR__ . '/load-balancers/*.json');
}

/** @dataProvider provideReadWriteConcernTests */
public function testReadWriteConcern(UnifiedTestCase $test): void
{
self::$runner->run($test);
}

public function provideReadWriteConcernTests()
{
return $this->provideTests(__DIR__ . '/read-write-concern/*.json');
}

/** @dataProvider provideRetryableReadsTests */
public function testRetryableReads(UnifiedTestCase $test): void
{
Expand Down
Loading

0 comments on commit ce238d4

Please sign in to comment.