Remove broken test in StructuredSyslogMessageTest
This commit is contained in:
parent
6d1294cf7e
commit
583e37b0c9
@ -269,14 +269,4 @@ public class StructuredSyslogMessageTest extends TestCase
|
||||
assertTrue((message.getStructuredData().get("data1")).size() == 1);
|
||||
assertEquals("b", message.getStructuredData().get("data1").get("a"));
|
||||
}
|
||||
|
||||
public void testMessageWithoutIdOrStructuredData()
|
||||
{
|
||||
final String messageStr = "- - TEST";
|
||||
final StructuredSyslogMessage message = StructuredSyslogMessage.fromString(messageStr);
|
||||
|
||||
assertEquals("TEST", message.getMessage());
|
||||
assertNull(message.getMessageId());
|
||||
assertTrue(message.getStructuredData().isEmpty());
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user