mirror of
https://github.com/danog/AsyncOrm.git
synced 2024-12-02 09:38:31 +01:00
Speed up tests
This commit is contained in:
parent
4987ceba1b
commit
e2b2c5674b
@ -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"),
|
||||||
|
Loading…
Reference in New Issue
Block a user