diff --git a/Package.swift b/Package.swift index 99858fb..e567f69 100644 --- a/Package.swift +++ b/Package.swift @@ -11,14 +11,14 @@ let package = Package( dependencies: [ // TODO: use a released version of swift-jobs .package(url: "https://github.com/hummingbird-project/swift-jobs.git", branch: "main"), - .package(url: "https://github.com/hummingbird-project/hummingbird-postgres.git", from: "0.6.0"), + .package(url: "https://github.com/hummingbird-project/postgres-migrations.git", from: "0.1.0"), .package(url: "https://github.com/vapor/postgres-nio.git", from: "1.25.0"), ], targets: [ .target( name: "JobsPostgres", dependencies: [ - .product(name: "PostgresMigrations", package: "hummingbird-postgres"), + .product(name: "PostgresMigrations", package: "postgres-migrations"), .product(name: "Jobs", package: "swift-jobs"), .product(name: "PostgresNIO", package: "postgres-nio"), ] diff --git a/Tests/JobsPostgresTests/JobsTests.swift b/Tests/JobsPostgresTests/JobsTests.swift index 20ea92f..9265742 100644 --- a/Tests/JobsPostgresTests/JobsTests.swift +++ b/Tests/JobsPostgresTests/JobsTests.swift @@ -407,7 +407,7 @@ final class JobsTests: XCTestCase { struct TestParameters: JobParameters { static let jobName = "testErrorRetryCount" } - let expectation = XCTestExpectation(description: "TestJob.execute was called", expectedFulfillmentCount: 4) + let expectation = XCTestExpectation(description: "TestJob.execute was called", expectedFulfillmentCount: 3) struct FailedError: Error {} try await self.testJobQueue(numWorkers: 1) { jobQueue in jobQueue.registerJob(