Skip to content

Commit

Permalink
chore: idk
Browse files Browse the repository at this point in the history
  • Loading branch information
richardtreier committed Jul 18, 2024
1 parent c4d4efb commit e75e6d3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ void canUseTheWorkaroundInCustomTransferRequest(
.add(Prop.Edc.CTX + "managedResources", false)
.build();
var transferRequest = InitiateCustomTransferRequest.builder()
.contractAgreementId(negotiation.getContractAgreementId())
.transferProcessRequestJsonLd(JsonUtils.toJson(transferRequestJsonLd))
.build();
.contractAgreementId(negotiation.getContractAgreementId())
.transferProcessRequestJsonLd(JsonUtils.toJson(transferRequestJsonLd))
.build();

val transferId = scenario.transferAndAwait(transferRequest);

Expand Down Expand Up @@ -307,12 +307,12 @@ void canTransferParameterizedAsset(

// assert
TransferHistoryEntry actual = consumerClient.uiApi()
.getTransferHistoryPage()
.getTransferEntries()
.stream()
.filter(it -> it.getAssetId().equals(testCase.id))
.findFirst()
.get();
.getTransferHistoryPage()
.getTransferEntries()
.stream()
.filter(it -> it.getAssetId().equals(testCase.id))
.findFirst()
.get();
assertThat(actual.getAssetId()).isEqualTo(testCase.id);
assertThat(actual.getTransferProcessId()).isEqualTo(transferId);
assertThat(actual.getState().getSimplifiedState()).isEqualTo(OK);
Expand Down
2 changes: 0 additions & 2 deletions tests/src/test/java/de/sovity/edc/e2e/UiApiWrapperTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import de.sovity.edc.client.gen.model.InitiateTransferRequest;
import de.sovity.edc.client.gen.model.OperatorDto;
import de.sovity.edc.client.gen.model.PolicyDefinitionCreateDto;
import de.sovity.edc.client.gen.model.PolicyDefinitionCreateRequest;
import de.sovity.edc.client.gen.model.TransferProcessSimplifiedState;
import de.sovity.edc.client.gen.model.UiAssetCreateRequest;
import de.sovity.edc.client.gen.model.UiAssetEditRequest;
Expand All @@ -37,7 +36,6 @@
import de.sovity.edc.client.gen.model.UiDataSource;
import de.sovity.edc.client.gen.model.UiDataSourceHttpData;
import de.sovity.edc.client.gen.model.UiPolicyConstraint;
import de.sovity.edc.client.gen.model.UiPolicyCreateRequest;
import de.sovity.edc.client.gen.model.UiPolicyExpression;
import de.sovity.edc.client.gen.model.UiPolicyExpressionType;
import de.sovity.edc.client.gen.model.UiPolicyLiteral;
Expand Down

0 comments on commit e75e6d3

Please sign in to comment.