Skip to content

Commit

Permalink
pr remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood committed Sep 16, 2024
1 parent 6777c2d commit 9eacd54
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import jakarta.json.JsonObject;
import jakarta.json.JsonString;
import jakarta.json.JsonValue;
import org.assertj.core.api.Assertions;
import org.eclipse.edc.connector.controlplane.api.management.contractnegotiation.model.NegotiationState;
import org.eclipse.edc.connector.controlplane.api.management.policy.model.PolicyEvaluationPlanRequest;
import org.eclipse.edc.connector.controlplane.api.management.policy.model.PolicyValidationResult;
Expand Down Expand Up @@ -317,7 +316,7 @@ void de_TerminateTransfer() {
var terminateTransfer = deserialize(inputObject, TerminateTransfer.class);

assertThat(terminateTransfer).isNotNull();
Assertions.assertThat(terminateTransfer.reason()).isEqualTo(inputObject.getString("reason"));
assertThat(terminateTransfer.reason()).isEqualTo(inputObject.getString("reason"));

}

Expand All @@ -327,7 +326,8 @@ void de_SuspendTransfer() {
var terminateTransfer = deserialize(inputObject, SuspendTransfer.class);

assertThat(terminateTransfer).isNotNull();
Assertions.assertThat(terminateTransfer.reason()).isEqualTo(inputObject.getString("reason"));
assertThat(terminateTransfer.reason()).isEqualTo(inputObject.getString("reason"));
assertThat(terminateTransfer.reason()).isEqualTo(inputObject.getString("reason"));

}

Expand Down Expand Up @@ -363,7 +363,7 @@ void de_PolicyEvaluationPlanRequest() {
var terminateTransfer = deserialize(inputObject, PolicyEvaluationPlanRequest.class);

assertThat(terminateTransfer).isNotNull();
Assertions.assertThat(terminateTransfer.policyScope()).isEqualTo(inputObject.getString("policyScope"));
assertThat(terminateTransfer.policyScope()).isEqualTo(inputObject.getString("policyScope"));

}

Expand Down

0 comments on commit 9eacd54

Please sign in to comment.