mirror of
https://github.com/sismics/docs.git
synced 2024-12-22 19:33:47 +01:00
#83: Fix test for tag parent
This commit is contained in:
parent
a55c55bbdb
commit
3dd8a52f7d
@ -152,7 +152,7 @@ public class TestTagResource extends BaseJerseyTest {
|
||||
Assert.assertTrue(tags.size() > 0);
|
||||
Assert.assertEquals("UpdatedName", tags.getJsonObject(1).getString("name"));
|
||||
Assert.assertEquals("#0000ff", tags.getJsonObject(1).getString("color"));
|
||||
Assert.assertEquals(JsonValue.NULL, tags.getJsonObject(1).get("parent"));
|
||||
Assert.assertNull(tags.getJsonObject(1).get("parent"));
|
||||
|
||||
// Deletes a tag
|
||||
target().path("/tag/" + tag4Id).request()
|
||||
|
Loading…
Reference in New Issue
Block a user