Skip to content

Commit 32aec33

Browse files
committed
fix coverage for test
1 parent 62e3294 commit 32aec33

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

server/src/test/java/dev/findfirst/core/model/SearchBkmkByTagReqTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ class SearchBkmkByTagReqTest {
1111

1212
@Test
1313
void tagRequestsEqual() {
14+
var tags = new SearchBkmkByTagReq(List.of("tech", "docs"));
1415
assertEquals(new SearchBkmkByTagReq(List.of("tech", "docs")),
1516
new SearchBkmkByTagReq(List.of("tech", "docs")));
1617
assertNotEquals(new SearchBkmkByTagReq(List.of("tech", "docs")),
1718
new SearchBkmkByTagReq(List.of("tech")));
18-
assertNotEquals("String", new SearchBkmkByTagReq(List.of("tech", "docs")));
19+
assertNotEquals(tags, "Strings");
20+
assertNotEquals(tags, null);
1921
}
2022
}

0 commit comments

Comments
 (0)