Skip to content

Commit 5bc0379

Browse files
committed
Fix integration test.
Use correct parameter type when assuming a specific Postgres OID. [#378]
1 parent 59e4592 commit 5bc0379

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/java/io/r2dbc/postgresql/AbstractCodecIntegrationTests.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -621,15 +621,14 @@ private <T> void testCodec(Class<T> javaType, T value, BiConsumer<T, T> equality
621621
.flatMapMany(connection -> connection
622622

623623
.createStatement("INSERT INTO test VALUES (" + insertPlaceholder + ")")
624-
.bind("$1", Parameters.in(parameterType)).add()
625-
.bind("$1", Parameters.in(javaType))
624+
.bind("$1", Parameters.in(parameterType))
626625
.execute()
627626

628627
.flatMap(PostgresqlResult::getRowsUpdated)
629628

630629
.concatWith(close(connection)))
631630
.as(StepVerifier::create)
632-
.expectNext(1, 1)
631+
.expectNext(1)
633632
.verifyComplete();
634633

635634
SERVER.getJdbcOperations().execute("DELETE FROM test");

0 commit comments

Comments
 (0)