Skip to content

Commit efe2f51

Browse files
committed
fix test for 3.11
1 parent 1817ecf commit efe2f51

File tree

1 file changed

+30
-27
lines changed

1 file changed

+30
-27
lines changed

tests/StatementTest.php

Lines changed: 30 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -270,15 +270,16 @@ public function testStatisticsInsert()
270270

271271
static::assertEquals(
272272
[
273-
'writesExecuted' => 1000,
274-
'writesIgnored' => 0,
275-
'scannedFull' => 0,
276-
'scannedIndex' => 0,
277-
'filtered' => 0,
278-
'cursorsCreated' => 0,
279-
'cursorsRearmed' => 0,
280-
'cacheHits' => 0,
281-
'cacheMisses' => 0,
273+
'writesExecuted' => 1000,
274+
'writesIgnored' => 0,
275+
'scannedFull' => 0,
276+
'scannedIndex' => 0,
277+
'filtered' => 0,
278+
'cursorsCreated' => 0,
279+
'cursorsRearmed' => 0,
280+
'cacheHits' => 0,
281+
'cacheMisses' => 0,
282+
'intermediateCommits' => 0,
282283
], filtered($extra['stats'])
283284
);
284285

@@ -312,15 +313,16 @@ public function testStatisticsSelectRemove()
312313

313314
static::assertEquals(
314315
[
315-
'writesExecuted' => 3,
316-
'writesIgnored' => 0,
317-
'scannedFull' => 0,
318-
'scannedIndex' => 3,
319-
'filtered' => 0,
320-
'cursorsCreated' => 1,
321-
'cursorsRearmed' => 0,
322-
'cacheHits' => 0,
323-
'cacheMisses' => 0,
316+
'writesExecuted' => 3,
317+
'writesIgnored' => 0,
318+
'scannedFull' => 0,
319+
'scannedIndex' => 3,
320+
'filtered' => 0,
321+
'cursorsCreated' => 1,
322+
'cursorsRearmed' => 0,
323+
'cacheHits' => 0,
324+
'cacheMisses' => 0,
325+
'intermediateCommits' => 0,
324326
], filtered($extra['stats'])
325327
);
326328

@@ -354,15 +356,16 @@ public function testStatisticsSelect()
354356

355357
static::assertEquals(
356358
[
357-
'writesExecuted' => 0,
358-
'writesIgnored' => 0,
359-
'scannedFull' => 1000,
360-
'scannedIndex' => 0,
361-
'filtered' => 500,
362-
'cursorsCreated' => 0,
363-
'cursorsRearmed' => 0,
364-
'cacheHits' => 0,
365-
'cacheMisses' => 0,
359+
'writesExecuted' => 0,
360+
'writesIgnored' => 0,
361+
'scannedFull' => 1000,
362+
'scannedIndex' => 0,
363+
'filtered' => 500,
364+
'cursorsCreated' => 0,
365+
'cursorsRearmed' => 0,
366+
'cacheHits' => 0,
367+
'cacheMisses' => 0,
368+
'intermediateCommits' => 0,
366369
], filtered($extra['stats'])
367370
);
368371

0 commit comments

Comments
 (0)