Skip to content

Commit

Permalink
feat(impl): [#518] remove assert from "when" steps
Browse files Browse the repository at this point in the history
  • Loading branch information
dsmf committed May 7, 2024
1 parent f5b39ea commit 76385c6
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ public void theBpnShouldNotHavePolicyId(final String bpn, final String policyId)
public void iPerformUpdatePolicy(final String policyId, final String bpn, final String validUntil) {
this.updatePoliciesResponse = updatePolicies(this.authenticationPropertiesBuilder, List.of(policyId),
List.of(bpn), validUntil);
this.updatePoliciesResponse.statusCode(HttpStatus.OK.value());
}

@When("I add policyId {string} to given BPNs using validUntil {string}:")
Expand Down Expand Up @@ -302,7 +301,6 @@ public void iUpdateThePolicy() {
this.updatePoliciesResponse = updatePolicies(this.authenticationPropertiesBuilder,
List.of(this.policyAttributes.getPolicyId()), this.policyAttributes.getBpnls(),
this.policyAttributes.getValidUntil());
this.updatePoliciesResponse.statusCode(HttpStatus.OK.value());
}

@Then("the create policy response should have HTTP status {int} and policyId {string}")
Expand Down

0 comments on commit 76385c6

Please sign in to comment.