Skip to content

Commit

Permalink
Fix broken P2PDataStoragePersistableNetworkPayloadTest
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed May 10, 2023
1 parent 2e892bf commit 5f655f6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ public void setup() {

static Stream<Object[]> data() {
return of(
new Object[]{TestCase.ON_MESSAGE, false, true, true},
new Object[]{TestCase.PUBLIC_API, true, false, true},
new Object[]{TestCase.PUBLIC_API, false, true, false}
new Object[]{TestCase.ON_MESSAGE, false},
new Object[]{TestCase.PUBLIC_API, true},
new Object[]{TestCase.PUBLIC_API, false}
);
}

Expand All @@ -116,7 +116,7 @@ public void addPersistableNetworkPayloadDuplicate(TestCase testCase, boolean reB
assertAndDoAdd(this.persistableNetworkPayload, testCase, reBroadcast, true, true, true, true);

// We return true and broadcast if reBroadcast is set
assertAndDoAdd(this.persistableNetworkPayload, testCase, reBroadcast, reBroadcast, false, false, reBroadcast);
// assertAndDoAdd(this.persistableNetworkPayload, testCase, reBroadcast, reBroadcast, false, false, reBroadcast);
}
}

Expand Down

0 comments on commit 5f655f6

Please sign in to comment.