File tree 2 files changed +2
-2
lines changed
Sources/PostgreSQL/Database
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public final class PostgreSQLDatabase: Database {
32
32
}
33
33
34
34
/// A connection created by a `PostgreSQLDatabase`.
35
- extension PostgreSQLConnection : DatabaseConnection { }
35
+ extension PostgreSQLConnection : DatabaseConnection , BasicWorker { }
36
36
37
37
extension DatabaseIdentifier {
38
38
/// Default identifier for `PostgreSQLDatabase`.
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ extension PostgreSQLConnection {
298
298
/// Creates a test event loop and psql client.
299
299
static func makeTest( ) throws -> PostgreSQLConnection {
300
300
let group = MultiThreadedEventLoopGroup ( numThreads: 1 )
301
- let client = try PostgreSQLConnection . connect ( on: wrap ( group. next ( ) ) ) { error in
301
+ let client = try PostgreSQLConnection . connect ( on: group) { error in
302
302
XCTFail ( " \( error) " )
303
303
} . wait ( )
304
304
_ = try client. authenticate ( username: " postgres " ) . wait ( )
You can’t perform that action at this time.
0 commit comments