mirror of
https://github.com/sismics/docs.git
synced 2025-12-13 01:36:18 +00:00
Order tags by name in all requests
This commit is contained in:
@@ -110,7 +110,7 @@ public class TestTagResource extends BaseJerseyTest {
|
||||
json = response.getEntity(JSONObject.class);
|
||||
tags = json.getJSONArray("tags");
|
||||
Assert.assertTrue(tags.length() > 0);
|
||||
Assert.assertEquals("Updated name", tags.getJSONObject(0).getString("name"));
|
||||
Assert.assertEquals("Updated name", tags.getJSONObject(1).getString("name"));
|
||||
|
||||
// Deletes a tag
|
||||
tagResource = resource().path("/tag/" + tag4Id);
|
||||
|
||||
Reference in New Issue
Block a user