File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
test/CloudNative.CloudEvents.UnitTests Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ var cloudEvent = new CloudEvent
321
321
{
322
322
Id = " result-1" ,
323
323
Type = " game.played.v1" ,
324
- Source = new Uri (" https://cloudevents.io/ " ),
324
+ Source = new Uri (" /game " , UriKind . Relative ),
325
325
Time = DateTimeOffset .UtcNow ,
326
326
DataContentType = " application/json" ,
327
327
Data = result
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ private static HttpRequestMessage SerializeGameResult()
117
117
{
118
118
Id = "result-1" ,
119
119
Type = "game.played.v1" ,
120
- Source = new Uri ( "https://cloudevents.io/" ) ,
120
+ Source = new Uri ( "/game" , UriKind . Relative ) ,
121
121
Time = DateTimeOffset . UtcNow ,
122
122
DataContentType = "application/json" ,
123
123
Data = result
You can’t perform that action at this time.
0 commit comments