mirror of
https://github.com/sismics/docs.git
synced 2024-11-14 10:27:55 +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