Skip to content

Commit 1d71c18

Browse files
author
Zhen Li
committed
Fixing failing builds due to time function changes
1 parent a4daadc commit 1d71c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/src/test/java/org/neo4j/driver/internal/messaging/PackStreamMessageFormatV2Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public void shouldReadTime() throws Exception
201201
Object unpacked = packAndUnpackValue( packer ->
202202
{
203203
packer.packStructHeader( 2, (byte) 'T' );
204-
packer.pack( time.withOffsetSameInstant( UTC ).toLocalTime().toNanoOfDay() );
204+
packer.pack( time.toLocalTime().toNanoOfDay() );
205205
packer.pack( time.getOffset().getTotalSeconds() );
206206
} );
207207

0 commit comments

Comments
 (0)