Improvements to tests

This commit is contained in:
Daniil Gentili 2024-03-31 21:37:53 +02:00
parent 3740fa7afd
commit 4987ceba1b

View File

@ -529,7 +529,7 @@ final class OrmTest extends TestCase
$ormUnCached = $fieldNoCache->build();
$orm->set($key, $value);
if ($value === ValueType::OBJECT) {
if ($valueType === ValueType::OBJECT) {
$this->assertCount(1, $ormUnCached);
} else {
$this->assertCount(0, $ormUnCached);