Skip to content

Commit 82bcb77

Browse files
author
Piaget Bouaka Donfack
committed
[DURACOM-317] AUDIT feature community - fix test
1 parent 0c8e2fd commit 82bcb77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dspace-api/src/test/java/org/dspace/content/InstallItemTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ public void testInstallItem_todayAsIssuedDate() throws Exception {
246246
//Make sure the string "today" was replaced with today's date
247247
List<MetadataValue> issuedDates = itemService.getMetadata(result, "dc", "date", "issued", Item.ANY);
248248

249-
assertThat("testInstallItem_todayAsIssuedDate 0", issuedDates.get(0).getValue(), equalTo(date));
250-
assertThat("testInstallItem_todayAsIssuedDate 1", issuedDates.get(1).getValue(), equalTo("2011-01-01"));
249+
assertThat("testInstallItem_todayAsIssuedDate 0", issuedDates.get(0).getValue(), equalTo("2011-01-01"));
250+
assertThat("testInstallItem_todayAsIssuedDate 1", issuedDates.get(1).getValue(), equalTo(date));
251251
}
252252

253253
/**

0 commit comments

Comments
 (0)