@@ -134,33 +134,4 @@ public function provideMapReduceOutValues()
134
134
[ ['replace ' => 'collectionName ' ], false ],
135
135
];
136
136
}
137
-
138
- public function provideReadConcernsAndDocuments ()
139
- {
140
- return [
141
- [ new ReadConcern , (object ) [] ],
142
- [ new ReadConcern (ReadConcern::LOCAL ), (object ) ['level ' => ReadConcern::LOCAL ] ],
143
- [ new ReadConcern (ReadConcern::MAJORITY ), (object ) ['level ' => ReadConcern::MAJORITY ] ],
144
- ];
145
- }
146
-
147
- public function provideWriteConcernsAndDocuments ()
148
- {
149
- return [
150
- [ new WriteConcern (-3 ), (object ) ['w ' => 'majority ' ] ], // MONGOC_WRITE_CONCERN_W_MAJORITY
151
- [ new WriteConcern (-2 ), (object ) [] ], // MONGOC_WRITE_CONCERN_W_DEFAULT
152
- [ new WriteConcern (-1 ), (object ) ['w ' => -1 ] ],
153
- [ new WriteConcern (0 ), (object ) ['w ' => 0 ] ],
154
- [ new WriteConcern (1 ), (object ) ['w ' => 1 ] ],
155
- [ new WriteConcern ('majority ' ), (object ) ['w ' => 'majority ' ] ],
156
- [ new WriteConcern ('tag ' ), (object ) ['w ' => 'tag ' ] ],
157
- [ new WriteConcern (1 , 0 ), (object ) ['w ' => 1 ] ],
158
- [ new WriteConcern (1 , 0 , false ), (object ) ['w ' => 1 , 'j ' => false ] ],
159
- [ new WriteConcern (1 , 1000 ), (object ) ['w ' => 1 , 'wtimeout ' => 1000 ] ],
160
- [ new WriteConcern (1 , 1000 , true ), (object ) ['w ' => 1 , 'wtimeout ' => 1000 , 'j ' => true ] ],
161
- [ new WriteConcern (-2 , 0 , true ), (object ) ['j ' => true ] ],
162
- // Note: wtimeout is only applicable applies for w > 1
163
- [ new WriteConcern (-2 , 1000 ), (object ) ['wtimeout ' => 1000 ] ],
164
- ];
165
- }
166
137
}
0 commit comments