Skip to content

Commit 5af26fd

Browse files
committed
tests (ComponentDefinitionTest): invalid allowedProcessorPosition
1 parent 13796ad commit 5af26fd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tests/JobFactory/Configuration/ComponentDefinitionTest.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,5 +442,21 @@ public function invalidDataProvider(): Generator
442442
'expected' => 'The value "invalid" is not allowed for path ' .
443443
'"component.dataTypesConfiguration.dataTypesSupport"',
444444
];
445+
yield 'invalid allowedProcessorPosition' => [
446+
'data' => [
447+
'id' => 'test',
448+
'data' => [
449+
'definition' => [
450+
'type' => 'aws-ecr',
451+
'uri' => 'some-uri',
452+
],
453+
],
454+
'processorConfiguration' => [
455+
'allowedProcessorPosition' => 'invalid',
456+
],
457+
],
458+
'expected' => 'The value "invalid" is not allowed for path ' .
459+
'"component.processorConfiguration.allowedProcessorPosition"',
460+
];
445461
}
446462
}

0 commit comments

Comments
 (0)