This is an automated email from the ASF dual-hosted git repository.
ofuks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/develop by this push:
new 12efdce Updated test for EndpointServiceImpl
12efdce is described below
commit 12efdce6fd26fa2ae8a196adadb58c9fcd9d1ae0
Author: Oleh Fuks <[email protected]>
AuthorDate: Tue Aug 18 12:20:04 2020 +0300
Updated test for EndpointServiceImpl
---
.../com/epam/dlab/backendapi/service/impl/EndpointServiceImplTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/services/self-service/src/test/java/com/epam/dlab/backendapi/service/impl/EndpointServiceImplTest.java
b/services/self-service/src/test/java/com/epam/dlab/backendapi/service/impl/EndpointServiceImplTest.java
index 6bf3f73..4da05e9 100644
---
a/services/self-service/src/test/java/com/epam/dlab/backendapi/service/impl/EndpointServiceImplTest.java
+++
b/services/self-service/src/test/java/com/epam/dlab/backendapi/service/impl/EndpointServiceImplTest.java
@@ -64,6 +64,7 @@ public class EndpointServiceImplTest extends TestBase {
private static final String EXPLORATORY_NAME_2 = "expName2";
private static final String PROJECT_NAME_1 = "projectName";
private static final String PROJECT_NAME_2 = "projectName_2";
+ private static final String ENDPOINT_NAME_2 = "endpointName2";
@Mock
private EndpointDAO endpointDAO;
@@ -303,7 +304,7 @@ public class EndpointServiceImplTest extends TestBase {
private List<ProjectDTO> getCreatingProjectDTO() {
ProjectDTO project = ProjectDTO.builder()
.name(PROJECT_NAME_1)
- .endpoints(Collections.singletonList(new
ProjectEndpointDTO(ENDPOINT_NAME, UserInstanceStatus.CREATING, null)))
+ .endpoints(Collections.singletonList(new
ProjectEndpointDTO(ENDPOINT_NAME_2, UserInstanceStatus.CREATING, null)))
.build();
return Collections.singletonList(project);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]