Skip to content
This repository has been archived by the owner on Feb 7, 2025. It is now read-only.

Commit

Permalink
Fixing merge issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrichlake committed Jan 25, 2024
1 parent 7227c34 commit db4d543
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ DomainResponse handleMetadata(DomainRequest request) {
}
}


DomainResponse handleConsolidatedSummary(DomainRequest request) {

Map<String, Map<String, Object>> metadata;
Expand All @@ -247,6 +246,7 @@ DomainResponse handleConsolidatedSummary(DomainRequest request) {
}

return domainResponseHelper.constructOkResponse(metadata);
}

public DomainResponse handleResults(DomainRequest request) {

Expand All @@ -260,6 +260,5 @@ public DomainResponse handleResults(DomainRequest request) {

logger.logInfo(request.getHeaders().toString());
return new DomainResponse(200);

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -461,10 +461,10 @@ class EtorDomainRegistrationTest extends Specification {
given:
def expectedStatusCode = 200

def expectedResultMap = ["12345678": ["status":"FAILED", "stale": true, "failureReason": "you done goof"]]
def expectedResultMap = ["12345678": ["status": "FAILED", "stale": true, "failureReason": "you done goof"]]

def request = new DomainRequest()
request.setPathParams(["sender":"testSender"])
request.setPathParams(["sender": "testSender"])

def connector = new EtorDomainRegistration()
TestApplicationContext.register(EtorDomainRegistration, connector)
Expand All @@ -486,6 +486,7 @@ class EtorDomainRegistrationTest extends Specification {
then:
actualStatusCode == expectedStatusCode
1 * mockResponseHelper.constructOkResponse(expectedResultMap) >> new DomainResponse(expectedStatusCode)
}

def "results endpoint happy path"() {
given:
Expand Down

0 comments on commit db4d543

Please sign in to comment.