Skip to content

Commit df0e38c

Browse files
committed
Upgrade to Mockito 4.2.0
1 parent 1d694cb commit df0e38c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-restdocs-platform/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies {
2424
api("org.javamoney:moneta:1.1")
2525
api("org.jruby:jruby-complete:9.1.13.0")
2626
api("org.junit.jupiter:junit-jupiter-api:5.0.0")
27-
api("org.mockito:mockito-core:1.10.19")
27+
api("org.mockito:mockito-core:4.2.0")
2828
api("org.synchronoss.cloud:nio-multipart-parser:1.1.0")
2929
}
3030
api(enforcedPlatform("org.springframework:spring-framework-bom:$springVersion"))

spring-restdocs-restassured/src/test/java/org/springframework/restdocs/restassured3/RestAssuredRestDocumentationConfigurerTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2019 the original author or authors.
2+
* Copyright 2014-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@
3535
import org.springframework.restdocs.templates.TemplateEngine;
3636

3737
import static org.assertj.core.api.Assertions.assertThat;
38-
import static org.mockito.Matchers.eq;
38+
import static org.mockito.ArgumentMatchers.eq;
3939
import static org.mockito.Mockito.mock;
4040
import static org.mockito.Mockito.verify;
4141

0 commit comments

Comments
 (0)