Skip to content

Commit 72e17ad

Browse files
Allow Symfony 7 (#1409)
* Allow Symfony 7 * Fix PHPUnit deprecations
1 parent ee77c4e commit 72e17ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Unit/Result/ListTablesOutputTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function testListTablesOutput(): void
3232

3333
break;
3434
}
35-
self::assertCount(4, $tableNames);
35+
self::assertCount(4, iterator_to_array($tableNames));
3636
self::assertNull($result->getLastEvaluatedTableName());
3737
}
3838
}

tests/Unit/Result/ScanOutputTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function testScanOutput(): void
5252
break;
5353
}
5454

55-
self::assertCount(2, $items);
55+
self::assertCount(2, iterator_to_array($items));
5656
self::assertSame(2, $result->getCount());
5757
self::assertSame(3, $result->getScannedCount());
5858
}

0 commit comments

Comments
 (0)