@@ -124,8 +124,6 @@ void shouldRegisterOnTheControlPlane() {
124124
125125 var dataplane = Dataplane .newInstance ()
126126 .id ("dataplane-id" )
127- .name ("dataplane-name" )
128- .description ("dataplane-description" )
129127 .endpoint ("http://localhost/dataplane" )
130128 .transferType ("SupportedTransferType-PUSH" )
131129 .label ("label-one" ).label ("label-two" )
@@ -137,8 +135,6 @@ void shouldRegisterOnTheControlPlane() {
137135 controlPlane .verify (postRequestedFor (urlPathEqualTo ("/dataplanes/register" ))
138136 .withRequestBody (and (
139137 matchingJsonPath ("dataplaneId" , equalTo ("dataplane-id" )),
140- matchingJsonPath ("name" , equalTo ("dataplane-name" )),
141- matchingJsonPath ("description" , equalTo ("dataplane-description" )),
142138 matchingJsonPath ("endpoint" , equalTo ("http://localhost/dataplane" )),
143139 matchingJsonPath ("transferTypes[0]" , equalTo ("SupportedTransferType-PUSH" )),
144140 matchingJsonPath ("labels.size()" , equalTo ("2" ))
@@ -152,8 +148,6 @@ void shouldFail_whenStatusIsNot200() {
152148
153149 var dataplane = Dataplane .newInstance ()
154150 .id ("dataplane-id" )
155- .name ("dataplane-name" )
156- .description ("dataplane-description" )
157151 .endpoint ("http://localhost/dataplane" )
158152 .transferType ("SupportedTransferType-PUSH" )
159153 .label ("label-one" ).label ("label-two" )
0 commit comments