@@ -59,7 +59,7 @@ function ($id): array {
59
59
* @param int $count The total count of servers
60
60
* @param int $available the count of available servers
61
61
*
62
- * @dataProvider provideMinority
62
+ * @dataProvider provideMinorityCases
63
63
*/
64
64
public function testTooFewServerToAcquire (int $ count , int $ available )
65
65
{
@@ -94,7 +94,7 @@ function () use (&$i, $available): bool {
94
94
* @param int $count The total count of servers
95
95
* @param int $available the count of available servers
96
96
*
97
- * @dataProvider provideMajority
97
+ * @dataProvider provideMajorityCases
98
98
*/
99
99
public function testFaultTolerance (int $ count , int $ available )
100
100
{
@@ -127,7 +127,7 @@ function () use (&$i, $available): bool {
127
127
* @param int $count The total count of servers
128
128
* @param int $available the count of available servers
129
129
*
130
- * @dataProvider provideMinority
130
+ * @dataProvider provideMinorityCases
131
131
*/
132
132
public function testAcquireTooFewKeys ($ count , $ available )
133
133
{
@@ -206,7 +206,7 @@ public function provideTimingOutCases()
206
206
* @param int $count The total count of servers
207
207
* @param int $available the count of available servers
208
208
*
209
- * @dataProvider provideMajority
209
+ * @dataProvider provideMajorityCases
210
210
*/
211
211
public function testAcquireWithMajority (int $ count , int $ available )
212
212
{
@@ -235,7 +235,7 @@ function () use (&$i, $available): bool {
235
235
* @param int $count The total count of servers
236
236
* @param int $available the count of available servers
237
237
*
238
- * @dataProvider provideMinority
238
+ * @dataProvider provideMinorityCases
239
239
*/
240
240
public function testTooFewServersToRelease (int $ count , int $ available )
241
241
{
@@ -270,7 +270,7 @@ function () use (&$i, $available): bool {
270
270
* @param int $count The total count of servers
271
271
* @param int $available the count of available servers
272
272
*
273
- * @dataProvider provideMinority
273
+ * @dataProvider provideMinorityCases
274
274
*/
275
275
public function testReleaseTooFewKeys (int $ count , int $ available ): void
276
276
{
@@ -300,7 +300,7 @@ function () use (&$i, $available): bool {
300
300
*
301
301
* @return int[][] test cases
302
302
*/
303
- public function provideMinority ()
303
+ public function provideMinorityCases ()
304
304
{
305
305
// total count, available count
306
306
return [
@@ -320,7 +320,7 @@ public function provideMinority()
320
320
*
321
321
* @return int[][] test cases
322
322
*/
323
- public function provideMajority ()
323
+ public function provideMajorityCases ()
324
324
{
325
325
// total count, available count
326
326
return [
0 commit comments