Core v2.3, N:M Relations

This commit is contained in:
2022-11-20 17:13:53 +01:00
parent b5b8f9b856
commit 303a5b69b5
41 changed files with 962 additions and 1047 deletions

View File

@@ -56,6 +56,7 @@ class ParameterTest extends \PHPUnit\Framework\TestCase {
// optional single value
$arrayType = new ArrayType("int_array_single", Parameter::TYPE_INT, true);
$this->assertTrue($arrayType->parseParam(1));
$this->assertEquals([1], $arrayType->value);
// mixed values
$arrayType = new ArrayType("mixed_array", Parameter::TYPE_MIXED);