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
|
@Getter @Setter
|
||||||
public class RepositoryDto extends HalRepresentation {
|
public class RepositoryDto extends HalRepresentation {
|
||||||
|
|
||||||
private String id;
|
|
||||||
private String contact;
|
private String contact;
|
||||||
private Instant creationDate;
|
private Instant creationDate;
|
||||||
private String description;
|
private String description;
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ public class RepositoryToRepositoryDtoMapperTest {
|
|||||||
assertEquals("description", dto.getDescription());
|
assertEquals("description", dto.getDescription());
|
||||||
assertEquals("git", dto.getType());
|
assertEquals("git", dto.getType());
|
||||||
assertEquals("none@example.com", dto.getContact());
|
assertEquals("none@example.com", dto.getContact());
|
||||||
assertEquals("1", dto.getId());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|||||||
Reference in New Issue
Block a user