Skip to content

Commit

Permalink
Bump Mockito 5.1.1 (#894)
Browse files Browse the repository at this point in the history
* Bump Mockito 5.1.1

* Update pr_build_jdk11.yaml

* Update pr_build_jdk11.yaml

* Added byte-buddy dependency to services' tests

---------

Co-authored-by: Carlos E. Feria Vila <carlosthe19916@gmail.com>
  • Loading branch information
mrizzi and carlosthe19916 committed Mar 6, 2023
1 parent 2ede9ab commit 8517b7b
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/pr_build_jdk11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ jobs:
java-version: '11'
distribution: 'temurin'
java-package: jdk
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
with:
maven-version: 3.8.7
- name: Cache local Maven repository
uses: actions/cache@v3
with:
Expand All @@ -93,6 +97,10 @@ jobs:
java-version: '11'
distribution: 'temurin'
java-package: jdk
- name: Set up Maven
uses: stCarolas/setup-maven@v4.5
with:
maven-version: 3.8.7
- name: Cache local Maven repository
uses: actions/cache@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions addons/web-support/impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@
<!-- Test dependencies -->
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.5</version>
<artifactId>mockito-core</artifactId>
<version>${version.mockito-core}</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion executor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.10.19</version>
<version>${version.mockito-core}</version>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.10.19</version>
<version>${version.mockito-core}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
<version.undertow>2.2.5.Final</version.undertow>
<version.httpcomponents>4.5.13</version.httpcomponents>
<version.maven-war-plugin>3.3.2</version.maven-war-plugin>
<version.mockito-core>5.1.1</version.mockito-core>
</properties>

<scm>
Expand Down
8 changes: 7 additions & 1 deletion services/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,13 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>1.10.19</version>
<version>${version.mockito-core}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.bytebuddy</groupId>
<artifactId>byte-buddy</artifactId>
<version>1.14.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 8517b7b

Please sign in to comment.