Merge pull request #635 from jbonofre/AMQ-8176

[AMQ-8176] Upgrade to mockito 3.8.0
This commit is contained in:
Jean-Baptiste Onofré 2021-03-24 06:01:25 +01:00 committed by GitHub
commit 77fee3aebb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -47,9 +47,8 @@ public class LegacyFrameTranslatorTest {
@Override
public ActiveMQDestination answer(InvocationOnMock invocation) throws Throwable {
String name = invocation.getArgumentAt(0, String.class);
boolean topic = invocation.getArgumentAt(1, Boolean.class);
String name = invocation.getArgument(0, String.class);
boolean topic = invocation.getArgument(1, Boolean.class);
name = "temp-" + (topic ? "topic://" : "queue://X:") + UUID.randomUUID().toString();

View File

@ -86,7 +86,7 @@
<leveldb-version>0.9</leveldb-version>
<leveldbjni-version>1.8</leveldbjni-version>
<log4j-version>1.2.17</log4j-version>
<mockito-version>1.10.19</mockito-version>
<mockito-version>3.8.0</mockito-version>
<owasp-dependency-check-version>5.2.4</owasp-dependency-check-version>
<powermock-version>1.7.4</powermock-version>
<mqtt-client-version>1.16</mqtt-client-version>