Skip to content

Commit 8bb9cc1

Browse files
authored
Fix restPostBodyMediaType to not be mandatory in a mail subcription (#264)
1 parent 5c6ce51 commit 8bb9cc1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/integrationtests/resources/features/ArtifactFlowIT.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Feature: Artifact flow Integrationtest
3131
# Setup subscription
3232
Given subscription object for "MAIL" with name "MailTestSubscription" is created
3333
When notification meta "some.cool.email@ericsson.com" is set in subscription
34-
And rest post body media type is set to "crazy-pinguin" is set in subscription
3534
And paremeter form key "" and form value "to_string(@)" is added in subscription
3635
And condition "id=='aacc3c87-75e0-4b6d-88f5-b1a5d4e62b43'" at requirement index '0' is added in subscription
3736
Then subscription is uploaded

src/main/resources/schemas/subscription_schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@
6666
"type":"string"
6767
}
6868
},
69-
"required": ["notificationMeta", "notificationType","restPostBodyMediaType", "subscriptionName", "requirements"]
70-
}
69+
"required": ["notificationMeta", "notificationType", "subscriptionName", "requirements"]
70+
}

0 commit comments

Comments
 (0)