File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
postgresql-async/src/test/scala/com/github/mauricio/async/db/postgresql Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class PostgreSQLConnectionSpec extends Specification with DatabaseTestHelper {
53
53
time_column time,
54
54
boolean_column boolean,
55
55
constraint bigserial_column_pkey primary key (bigserial_column)
56
- )"""
56
+ ) with oids """
57
57
58
58
val insert = """ insert into type_test_table (
59
59
smallint_column,
@@ -83,7 +83,7 @@ class PostgreSQLConnectionSpec extends Specification with DatabaseTestHelper {
83
83
)
84
84
"""
85
85
86
- val select = " select * from type_test_table"
86
+ val select = " select *, oid from type_test_table"
87
87
88
88
val preparedStatementCreate = """ create temp table prepared_statement_test (
89
89
id bigserial not null,
@@ -151,6 +151,8 @@ class PostgreSQLConnectionSpec extends Specification with DatabaseTestHelper {
151
151
row(10 ) === DateEncoderDecoder .decode(" 1984-08-06" )
152
152
row(11 ) === TimeEncoderDecoder .Instance .decode(" 22:13:45.888888" )
153
153
row(12 ) === true
154
+ row(13 ) must beAnInstanceOf[java.lang.Long ]
155
+ row(13 ).asInstanceOf [Long ] must beGreaterThan(0L )
154
156
155
157
156
158
}
You can’t perform that action at this time.
0 commit comments