<p>Test AccountAgeWitnessServiceTest > testArbitratorSignWitness failed<br>
in full gradle build, but passed when run as a single test:</p>
<pre><code>./gradlew :core:cleanTest :core:test \
        --tests "bisq.core.account.witness.AccountAgeWitnessServiceTest"
</code></pre>
<p>This test also passed when run in the IDE.</p>
<p>Solved by not passing a mocked PaymentMethod.SEPA argument into the<br>
test's service.getTraderPaymentAccounts() method, where mock paymentId<br>
field was null when running full build's test suites.</p>
<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #4158.">Fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="598061491" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/4158" data-hovercard-type="issue" data-hovercard-url="/bisq-network/bisq/issues/4158/hovercard" href="https://github.com/bisq-network/bisq/issues/4158">#4158</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/4161'>https://github.com/bisq-network/bisq/pull/4161</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Replace mock arg with SEPA PaymentMethod instance</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4161/files#diff-2c4ac1de579d9cf2721f70b0da448dd4">core/src/test/java/bisq/core/account/witness/AccountAgeWitnessServiceTest.java</a>
    (5)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/4161.patch'>https://github.com/bisq-network/bisq/pull/4161.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/4161.diff'>https://github.com/bisq-network/bisq/pull/4161.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/4161">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNTXXQPUZZ55MOM5SALRMCPMXANCNFSM4MGCIKJQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNVTWAZESHW4SEDRGSTRMCPMXA5CNFSM4MGCIKJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4I5JPDLA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4161",
"url": "https://github.com/bisq-network/bisq/pull/4161",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>