#83: Fix test for tag parent

This commit is contained in:
jendib 2016-05-08 01:03:15 +02:00
parent a55c55bbdb
commit 3dd8a52f7d
No known key found for this signature in database
GPG Key ID: 06EE7F699579166F

View File

@ -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()