File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Unicorn.Web/ApprovalService.Tests Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public async Task Publish_event_when_property_status_is_pending_or_declined()
28
28
{
29
29
// Arrange
30
30
var eventPayload = Builder < ApiGwSqsPayload > . CreateNew ( )
31
- . With ( x => x . property_id = "usa/anytown/main-street/777" )
31
+ . With ( x => x . PropertyId = "usa/anytown/main-street/777" )
32
32
. Build ( ) ;
33
33
34
34
var context = TestHelpers . NewLambdaContext ( ) ;
@@ -97,7 +97,7 @@ public async Task Do_not_publish_event_when_property_status_is_approved()
97
97
{
98
98
// Arrange
99
99
var eventPayload = Builder < ApiGwSqsPayload > . CreateNew ( )
100
- . With ( x => x . property_id = "usa/anytown/main-street/777" )
100
+ . With ( x => x . PropertyId = "usa/anytown/main-street/777" )
101
101
. Build ( ) ;
102
102
var context = TestHelpers . NewLambdaContext ( ) ;
103
103
@@ -154,5 +154,5 @@ await eventBindingClient.Received(0)
154
154
155
155
public class ApiGwSqsPayload
156
156
{
157
- public string property_id { get ; set ; }
157
+ public string PropertyId { get ; set ; }
158
158
}
You can’t perform that action at this time.
0 commit comments