Skip to content

Commit 54d2810

Browse files
authored
Merge pull request #82 from zalando-stups/fix-issues-pg13-time
Fixing the behavior for pg13.
2 parents e352d86 + c0eae0d commit 54d2810

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/test/java/org/zalando/sprocwrapper/SimpleIT.java

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -849,9 +849,14 @@ public void testReturnDomainObjectWithNullInnerObject() {
849849
assertEquals("a", result.getA());
850850

851851
ExampleDomainObject b = result.getB();
852-
assertNotNull(b);
853-
assertNull(b.getA());
854-
assertNull(b.getB());
852+
// With PG 13 and PGJDBC 42.2.12+ behavior has changed on what returns
853+
// previously:
854+
// assertNotNull(b);
855+
// assertNull(b.getA());
856+
// assertNull(b.getB());
857+
858+
// pg13+
859+
assertNull(b);
855860

856861
assertNull(result.getC());
857862
}

0 commit comments

Comments
 (0)