mirror of
https://github.com/danog/AsyncOrm.git
synced 2024-11-29 20:29:48 +01:00
Improvements to tests
This commit is contained in:
parent
56cf1eb678
commit
3740fa7afd
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user