File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
src/test/java/com/bitpay/sdk/util Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11name : Build
22
33on :
4+ pull_request :
5+ types :
6+ - opened
7+ - reopened
48 push :
59 branches-ignore :
610 - ' master'
Original file line number Diff line number Diff line change 127127 <groupId >org.apache.maven.plugins</groupId >
128128 <artifactId >maven-surefire-plugin</artifactId >
129129 <version >2.22.2</version >
130+ <configuration >
131+ <argLine >-Duser.timezone=UTC</argLine >
132+ </configuration >
130133 </plugin >
131134 </plugins >
132135 </build >
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ public class DateDeserializerTest {
1616 @ Test
1717 public void it_should_deserialize_date () throws IOException {
1818 // given
19- System .setProperty ("user.timezone" , "UTC" );
2019 DateDeserializer testedClass = new DateDeserializer ();
2120 JsonParser jsonParser = Mockito .mock (JsonParser .class );
2221 DeserializationContext deserializationContext = Mockito .mock (DeserializationContext .class );
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ public class DateSerializerTest {
1515 @ Test
1616 public void it_should_serialize_date () throws IOException {
1717 // given
18- System .setProperty ("user.timezone" , "UTC" );
1918 DateSerializer testedClass = new DateSerializer ();
2019 JsonGenerator jsonGenerator = Mockito .mock (JsonGenerator .class );
2120 SerializerProvider serializerProvider = Mockito .mock (SerializerProvider .class );
You can’t perform that action at this time.
0 commit comments