File tree Expand file tree Collapse file tree
src/test/java/com/teragrep/cfe18/controllerTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ public void testData() {
171171 }
172172
173173 @ Test
174- @ Order (1 )
174+ @ Order (2 )
175175 public void testInsertHub () {
176176 Hub hub = new Hub ();
177177 hub .setFqHost ("hubfq" );
@@ -219,7 +219,7 @@ public void testInsertHub() {
219219 }
220220
221221 @ Test
222- @ Order (2 )
222+ @ Order (3 )
223223 public void testGetHub () {
224224 Hub hub = new Hub ();
225225 hub .setHostId (1 );
@@ -246,7 +246,7 @@ public void testGetHub() {
246246 }
247247
248248 @ Test
249- @ Order (3 )
249+ @ Order (4 )
250250 public void testGetAllHubs () {
251251 ArrayList <Hub > expected = new ArrayList <>();
252252
@@ -285,7 +285,7 @@ public void testGetAllHubs() {
285285 }
286286
287287 @ Test
288- @ Order (4 )
288+ @ Order (5 )
289289 public void testDeleteHubInUse () {
290290 // try to delete given hub when host is using the given hub
291291
@@ -313,6 +313,7 @@ public void testDeleteHubInUse() {
313313 }
314314
315315 @ Test
316+ @ Order (6 )
316317 public void testDeleteNonExistentHub () {
317318 HttpDelete delete = new HttpDelete ("http://localhost:" + port + "/host/hub/" + 112412214 );
318319
@@ -338,6 +339,7 @@ public void testDeleteNonExistentHub() {
338339 }
339340
340341 @ Test
342+ @ Order (7 )
341343 public void testDeleteHub () {
342344 HttpDelete delete = new HttpDelete ("http://localhost:" + port + "/host/hub/" + 2 );
343345
You can’t perform that action at this time.
0 commit comments