mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-15 09:46:16 +01:00
Remove id from repository dto
This commit is contained in:
@@ -13,7 +13,6 @@ import java.util.List;
|
||||
@Getter @Setter
|
||||
public class RepositoryDto extends HalRepresentation {
|
||||
|
||||
private String id;
|
||||
private String contact;
|
||||
private Instant creationDate;
|
||||
private String description;
|
||||
|
||||
@@ -56,7 +56,6 @@ public class RepositoryToRepositoryDtoMapperTest {
|
||||
assertEquals("description", dto.getDescription());
|
||||
assertEquals("git", dto.getType());
|
||||
assertEquals("none@example.com", dto.getContact());
|
||||
assertEquals("1", dto.getId());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user