Skip to content

Commit 001f93b

Browse files
committed
Remove data providers in FunctionsTest
1 parent 8695c20 commit 001f93b

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

tests/FunctionsTest.php

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -134,33 +134,4 @@ public function provideMapReduceOutValues()
134134
[ ['replace' => 'collectionName'], false ],
135135
];
136136
}
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-
}
166137
}

0 commit comments

Comments
 (0)