Skip to content

Commit 43f4673

Browse files
committed
fix: coverage
1 parent d648442 commit 43f4673

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ clean:
1212

1313
## coverage - Test (and build) the project to generate a coverage report
1414
coverage:
15-
mvn verify -Dgpg.skip=true -Dcheckstyle.skip=true -Ddependency-check.skip=true -Djavadoc.skip=true jacoco:report
15+
mvn test -Dgpg.skip=true -Dcheckstyle.skip=true -Ddependency-check.skip=true -Djavadoc.skip=true jacoco:report
1616

1717
## checkstyle - Check if project follows CheckStyle rules (must run install-checkstyle first)
1818
checkstyle:

pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,13 @@
125125
<properties>
126126
<configurationParameters>junit.jupiter.execution.order.random.seed=99</configurationParameters>
127127
</properties>
128+
<argLine>-javaagent:${settings.localRepository}/net/bytebuddy/byte-buddy-agent/1.12.19/byte-buddy-agent-1.12.19.jar</argLine>
128129
</configuration>
129130
</plugin>
130131
<plugin>
131132
<groupId>org.jacoco</groupId>
132133
<artifactId>jacoco-maven-plugin</artifactId>
133-
<version>0.8.12</version>
134+
<version>0.8.13</version>
134135
<configuration>
135136
<excludes>
136137
<!-- Exclude all the getters in model for code coverage -->

src/test/java/com/easypost/CarrierAccountTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public void testCreateWithUPS() throws EasyPostException {
149149
*/
150150
@Test
151151
public void testCreateWithAmazon() throws EasyPostException {
152-
// vcr.setUpTest("create_with_amazon");
152+
vcr.setUpTest("create_with_amazon");
153153

154154
CarrierAccount carrierAccount = createAmazonCarrierAccount();
155155

0 commit comments

Comments
 (0)