Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2494,12 +2494,6 @@ String getNotice(BinaryOperator<String> propertyAction) {
builder.append(Calendar.getInstance().get(Calendar.YEAR));
builder.append(" Evolved Binary Ltd");
builder.append(EOL);
builder.append("Elemental comes with ABSOLUTELY NO WARRANTY.");
builder.append(EOL);
builder.append("This is free software, and you are welcome to redistribute it");
builder.append(EOL);
builder.append("under certain conditions; for details read the license file.");
builder.append(EOL);
return builder.toString();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,7 @@ void getNotice() {
replay(collection, mgtService, perm, resource, clientFrame, account, group, propertyAction);

String expected = "Elemental version testVersion (gitCommitId), Copyright (C) 2024-" +
Calendar.getInstance().get(Calendar.YEAR) + " Evolved Binary Ltd" + EOL +
"Elemental comes with ABSOLUTELY NO WARRANTY." + EOL +
"This is free software, and you are welcome to redistribute it" + EOL +
"under certain conditions; for details read the license file." + EOL;
Calendar.getInstance().get(Calendar.YEAR) + " Evolved Binary Ltd" + EOL;
assertThat(client.getNotice(propertyAction)).isNotNull().isEqualTo(expected);
}

Expand Down