Skip to content

Commit 460c2bb

Browse files
Fixed tests
1 parent b90da38 commit 460c2bb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/test/java/com/itasocialacademy/oitassist/news/controller/NewsControllerTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ void testGetAllNewsForAdmin_shouldReturnPagedResponse() throws Exception {
269269
NewsStatus.PUBLISHED,
270270
OffsetDateTime.parse("2026-03-14T08:00:00Z"),
271271
OffsetDateTime.parse("2026-03-15T10:30:00Z"),
272+
OffsetDateTime.parse("2026-03-15T10:30:00Z"),
272273
null);
273274

274275
Page<ResponseNewsAdminListItemDto> page = new PageImpl<>(
@@ -302,6 +303,7 @@ void testGetAllNewsForAdmin_withSearchParam_returnsMatchingResults() throws Exce
302303
NewsStatus.DRAFT,
303304
OffsetDateTime.parse("2026-03-10T12:00:00Z"),
304305
OffsetDateTime.parse("2026-03-10T14:20:00Z"),
306+
OffsetDateTime.parse("2026-03-10T14:20:00Z"),
305307
null);
306308

307309
Page<ResponseNewsAdminListItemDto> page = new PageImpl<>(

0 commit comments

Comments
 (0)