Skip to content

Commit

Permalink
Removed unnecessary exceptions from signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
davemoore- committed Jun 9, 2024
1 parent f72fcb4 commit 5ed06f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/io/zentity/model/ZidTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ public class ZidTest {
//// "attributes" ////////////////////////////////////////////////////////////////////////////////////////////////

@Test
public void testEncodeEntity() throws Exception {
public void testEncodeEntity() {
String _zid = Zid.encodeEntity("person", "my_index", "1", 0);
String expected = "person|my_index|MQ==|0";
Assert.assertEquals(expected, _zid);
}

@Test
public void testEncodeEntityCrossClusterSearch() throws Exception {
public void testEncodeEntityCrossClusterSearch() {
String _zid = Zid.encodeEntity("person", "us:my_index", "1", 0);
String expected = "person|us:my_index|MQ==|0";
Assert.assertEquals(expected, _zid);
Expand Down

0 comments on commit 5ed06f6

Please sign in to comment.