Improvements to tests

This commit is contained in:
Daniil Gentili 2024-03-31 21:37:13 +02:00
parent 56cf1eb678
commit 3740fa7afd

View File

@ -597,7 +597,7 @@ final class OrmTest extends TestCase
public static function provideSettingsKeysValues(): \Generator public static function provideSettingsKeysValues(): \Generator
{ {
$key = 0; $k = 0;
foreach (self::provideSettings() as [, $settings]) { foreach (self::provideSettings() as [, $settings]) {
foreach (self::provideKeyValues() as [, $keyType, $key, $valueType, $value]) { foreach (self::provideKeyValues() as [, $keyType, $key, $valueType, $value]) {
if ($valueType === ValueType::OBJECT && ( if ($valueType === ValueType::OBJECT && (
@ -607,7 +607,7 @@ final class OrmTest extends TestCase
continue; continue;
} }
yield [ yield [
$key++, $k++,
$settings, $settings,
$keyType, $keyType,
$key, $key,