Skip to content

Commit

Permalink
fix test (dv must be published to appear in sitemap) #4261
Browse files Browse the repository at this point in the history
  • Loading branch information
pdurbin committed Sep 27, 2018
1 parent d96f8cb commit 9934fdf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public void testUpdateSiteMap() throws IOException, ParseException {
SimpleDateFormat dateFmt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
Date dvModifiedDate = dateFmt.parse("1955-11-12 22:04:00");
publishedDataverse.setModificationTime(new Timestamp(dvModifiedDate.getTime()));
publishedDataverse.setPublicationDate(new Timestamp(dvModifiedDate.getTime()));
dataverses.add(publishedDataverse);

List<Dataset> datasets = new ArrayList<>();
Expand Down

0 comments on commit 9934fdf

Please sign in to comment.