@@ -162,13 +162,13 @@ void test() throws Exception {
162
162
.andExpect (content ().contentTypeCompatibleWith (APPLICATION_JSON ))
163
163
.andExpect (jsonPath ("$" , hasSize (0 )));
164
164
165
- mvc .perform (get ("/" + VERSION + "/substations?networkUuid=" + networkUuid + "&variantId=" + VARIANT_ID + "&substationId=null &substationId=P2" )
165
+ mvc .perform (get ("/" + VERSION + "/substations?networkUuid=" + networkUuid + "&variantId=" + VARIANT_ID + "&substationId=notExistsId &substationId=P2" )
166
166
.contentType (APPLICATION_JSON ))
167
167
.andExpect (status ().isOk ())
168
168
.andExpect (content ().contentTypeCompatibleWith (APPLICATION_JSON ))
169
169
.andExpect (jsonPath ("$" , hasSize (0 )));
170
170
171
- mvc .perform (get ("/" + VERSION + "/substations?networkUuid=" + networkUuid + "&variantId=" + VARIANT_ID + "&substationId=null " )
171
+ mvc .perform (get ("/" + VERSION + "/substations?networkUuid=" + networkUuid + "&variantId=" + VARIANT_ID + "&substationId=notExistsId " )
172
172
.contentType (APPLICATION_JSON ))
173
173
.andExpect (status ().isOk ())
174
174
.andExpect (content ().contentTypeCompatibleWith (APPLICATION_JSON ))
@@ -186,13 +186,13 @@ void test() throws Exception {
186
186
.andExpect (content ().contentTypeCompatibleWith (APPLICATION_JSON ))
187
187
.andExpect (jsonPath ("$" , hasSize (0 )));
188
188
189
- mvc .perform (get ("/" + VERSION + "/lines?networkUuid=" + networkUuid + "&variantId=" + VARIANT_ID + "&lineId=NHV1_NHV2_2&lineId=null " )
189
+ mvc .perform (get ("/" + VERSION + "/lines?networkUuid=" + networkUuid + "&variantId=" + VARIANT_ID + "&lineId=NHV1_NHV2_2&lineId=notExistsId " )
190
190
.contentType (APPLICATION_JSON ))
191
191
.andExpect (status ().isOk ())
192
192
.andExpect (content ().contentTypeCompatibleWith (APPLICATION_JSON ))
193
193
.andExpect (jsonPath ("$" , hasSize (0 )));
194
194
195
- mvc .perform (get ("/" + VERSION + "/lines?networkUuid=" + networkUuid + "&variantId=" + VARIANT_ID + "&lineId=null " )
195
+ mvc .perform (get ("/" + VERSION + "/lines?networkUuid=" + networkUuid + "&variantId=" + VARIANT_ID + "&lineId=notExistsId " )
196
196
.contentType (APPLICATION_JSON ))
197
197
.andExpect (status ().isOk ())
198
198
.andExpect (content ().contentTypeCompatibleWith (APPLICATION_JSON ))
0 commit comments