This commit is contained in:
Daniil Gentili 2024-03-28 22:02:17 +01:00
parent 65b1cc510d
commit aa50698197

View File

@ -241,7 +241,7 @@ final class OrmTest extends TestCase
} }
$field = new FieldConfig( $field = new FieldConfig(
'testMigration', 'testKeyMigration',
$settings, $settings,
KeyType::INT, KeyType::INT,
ValueType::INT ValueType::INT
@ -258,7 +258,7 @@ final class OrmTest extends TestCase
$this->assertEquals(1, $cnt); $this->assertEquals(1, $cnt);
$field = new FieldConfig( $field = new FieldConfig(
'testMigration', 'testKeyMigration',
$settings, $settings,
KeyType::STRING, KeyType::STRING,
ValueType::INT ValueType::INT
@ -276,7 +276,7 @@ final class OrmTest extends TestCase
$this->assertEquals(1, $cnt); $this->assertEquals(1, $cnt);
$field = new FieldConfig( $field = new FieldConfig(
'testMigration', 'testKeyMigration',
$settings, $settings,
KeyType::INT, KeyType::INT,
ValueType::INT ValueType::INT
@ -304,7 +304,7 @@ final class OrmTest extends TestCase
$this->expectExceptionMessage("The JSON backend cannot be used when serializing objects!"); $this->expectExceptionMessage("The JSON backend cannot be used when serializing objects!");
} }
$field = new FieldConfig( $field = new FieldConfig(
'testKeyMigration', 'testObject',
$settings, $settings,
KeyType::STRING_OR_INT, KeyType::STRING_OR_INT,
ValueType::OBJECT ValueType::OBJECT