#631 - Partial Response : [Refactor] Rename GetDetails method by id.
This commit is contained in:
parent
f38119c565
commit
87d4853846
@ -33,7 +33,7 @@ public class VideoResource {
|
||||
this.videos = videos;
|
||||
}
|
||||
|
||||
public String getDenials(String id) {
|
||||
public String getDetails(String id) {
|
||||
return videos.get(id).toString();
|
||||
}
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ public class VideoResourceTest {
|
||||
|
||||
@Test
|
||||
public void shouldGiveVideoDetailsById() {
|
||||
String details = resource.getDenials("1");
|
||||
String details = resource.getDetails("1");
|
||||
System.out.println(details);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user