Speed up tests

This commit is contained in:
Daniil Gentili 2024-03-31 21:52:02 +02:00
parent 4987ceba1b
commit e2b2c5674b

View File

@ -516,6 +516,9 @@ final class OrmTest extends TestCase
{ {
if ($value instanceof TestObject) { if ($value instanceof TestObject) {
$value = new TestObject; $value = new TestObject;
} elseif (!\is_int($value) || !\is_int($key)) {
$this->assertTrue(true);
return;
} }
$field = new DbArrayBuilder("testCache_{$tablePostfix}", new RedisSettings( $field = new DbArrayBuilder("testCache_{$tablePostfix}", new RedisSettings(
RedisConfig::fromUri("redis://127.0.0.1"), RedisConfig::fromUri("redis://127.0.0.1"),