buildChampDao();
try {
- champDao.getEdge(idNotExists, type, txId);
+ champDao.getEdge(idNotExists, txId);
} catch (CrudException e) {
assertEquals(404, e.getHttpStatus().getStatusCode());
assertThat(e.getMessage(), containsString(failureCauseForGetEdge));
// Type not matches
try {
- champDao.getEdge(id, "", txId);
+ champDao.getEdge(id, txId);
} catch (CrudException e) {
assertEquals(404, e.getHttpStatus().getStatusCode());
assertThat(e.getMessage(), containsString(failureCauseForGetEdgeTypeNotMatches));
buildChampDao();
try {
- champDao.getVertexEdges(idNotExists, queryParams);
+ champDao.getVertexEdges(idNotExists, queryParams, null);
} catch (CrudException e) {
assertEquals(404, e.getHttpStatus().getStatusCode());
assertThat(e.getMessage(), containsString(failureCauseForGetVertexEdges));
buildChampDao();
try {
- champDao.deleteEdge(id, type);
+ champDao.deleteEdge(id);
} catch (CrudException e) {
assertEquals(400, e.getHttpStatus().getStatusCode());
assertThat(e.getMessage(), containsString(failureCauseFordeleteEdge));
}
try {
- champDao.deleteEdge(id, type, txId);
+ champDao.deleteEdge(id, txId);
} catch (CrudException e) {
assertEquals(400, e.getHttpStatus().getStatusCode());
assertThat(e.getMessage(), containsString(failureCauseFordeleteEdge));