Skip to content

Commit 90263b1

Browse files
committed
Modified test to use mocks
1 parent 94ecb9f commit 90263b1

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

pom.xml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@
202202
<groupId>junit</groupId>
203203
<artifactId>junit</artifactId>
204204
<version>${junit.version}</version>
205-
<scope>compile</scope>
206205
</dependency>
207206

208207
<dependency>
@@ -263,6 +262,20 @@
263262
<artifactId>jackson-core</artifactId>
264263
<version>2.1.4</version>
265264
</dependency>
265+
<dependency>
266+
<groupId>org.mockito</groupId>
267+
<artifactId>mockito-core</artifactId>
268+
<version>1.9.5</version>
269+
<scope>test</scope>
270+
<exclusions>
271+
<exclusion>
272+
<!-- Conflicts with the newer hamcrest version
273+
pulled in by junit -->
274+
<artifactId>hamcrest-core</artifactId>
275+
<groupId>org.hamcrest</groupId>
276+
</exclusion>
277+
</exclusions>
278+
</dependency>
266279
</dependencies>
267280

268281

0 commit comments

Comments
 (0)