Skip to content

Commit

Permalink
Revert test
Browse files Browse the repository at this point in the history
  • Loading branch information
yevhenii-viktorov committed Oct 26, 2021
1 parent 8641766 commit e774db3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,8 @@ public void shouldPassRequestWithExtPrebidToDefinedBidder() {
final ExtRequestPrebid prebid1 = capturedBidRequest1.getBidRequest().getExt().getPrebid();
assertThat(prebid1).isNotNull();
final JsonNode bidders1 = prebid1.getBidders();
assertThat(bidders1).isNotNull()
.extracting(JsonNode::fields).asList()
assertThat(bidders1).isNotNull();
assertThat(bidders1.fields()).toIterable().hasSize(1)
.containsOnly(entry("bidder", mapper.createObjectNode().put("test1", "test1")));

final ArgumentCaptor<BidderRequest> bidRequest2Captor = ArgumentCaptor.forClass(BidderRequest.class);
Expand All @@ -676,8 +676,8 @@ public void shouldPassRequestWithExtPrebidToDefinedBidder() {
final ExtRequestPrebid prebid2 = capturedBidRequest2.getExt().getPrebid();
assertThat(prebid2).isNotNull();
final JsonNode bidders2 = prebid2.getBidders();
assertThat(bidders2).isNotNull()
.extracting(JsonNode::fields).asList()
assertThat(bidders2).isNotNull();
assertThat(bidders2.fields()).toIterable().hasSize(1)
.containsOnly(entry("bidder", mapper.createObjectNode().put("test2", "test2")));
}

Expand Down

0 comments on commit e774db3

Please sign in to comment.