Add regression coverage for both the single and bulk import endpoints confirming that importing a workflow definition with a fresh DefinitionId and IsReadonly=true succeeds and persists as read-only. NotReadOnlyPolicy is only meant to block edits of existing read-only workflows; on main it already resolves against the stored definition (null for a new one), so these tests pin that behavior against regression. Refs #7981 Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Elsa.Workflows.ComponentTests | ||
| Directory.Build.props | ||