Skip to content

Commit c8a8b79

Browse files
committed
Update unit tests
1 parent 43b66a3 commit c8a8b79

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Tests/CoreModelMongoDBTests/MongoDBModelTests.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ final class MongoDBModelTests: XCTestCase {
1919
cleanupMongoSwift()
2020

2121
// shut down EventLoopGroup
22-
try? elg.syncShutdownGracefully()
22+
Task {
23+
try? await elg.shutdownGracefully()
24+
}
2325
}
2426

2527
let model = Model(entities: Person.self, Event.self, Campground.self, Campground.RentalUnit.self)

0 commit comments

Comments
 (0)