TractorCow\Fluent\Tests\Extension\LocalisedCopyTest\DuplicationTest::testEditWithDefinedRelation
case: existing object with defined relation is localised into a new / existing locale desired outcome:
if localised copy is active a new duplicted related object is created for the target locale if localised copy is inactive desired outcome: no additional changes
Signature
public function testEditWithDefinedRelation(string
$locale,
bool
$duplicated,
bool
$active )
Parameters
$locale
— string$duplicated
— bool
$active
— bool