@@ -14,7 +14,12 @@ let package = Package(
1414 dependencies: [
1515 . package ( url: " https://github.com/vapor/queues.git " , from: " 1.5.0 " ) ,
1616 . package ( url: " https://github.com/vapor/fluent-kit.git " , from: " 1.7.0 " ) ,
17- . package ( url: " https://github.com/vapor/sql-kit.git " , from: " 3.7.0 " )
17+ . package ( url: " https://github.com/vapor/sql-kit.git " , from: " 3.7.0 " ) ,
18+
19+ // Test-only dependencies
20+ . package ( url: " https://github.com/vapor/fluent-sqlite-driver.git " , from: " 4.0.0 " ) ,
21+ . package ( url: " https://github.com/vapor/vapor.git " , from: " 4.0.0 " ) ,
22+ . package ( url: " https://github.com/vapor/fluent.git " , from: " 4.0.0 " ) ,
1823 ] ,
1924 targets: [
2025 . target(
@@ -26,6 +31,12 @@ let package = Package(
2631 ] ) ,
2732 . testTarget(
2833 name: " QueuesDatabaseHooksTests " ,
29- dependencies: [ " QueuesDatabaseHooks " ] ) ,
34+ dependencies: [
35+ . target( name: " QueuesDatabaseHooks " ) ,
36+ . product( name: " FluentSQLiteDriver " , package : " fluent-sqlite-driver " ) ,
37+ . product( name: " XCTQueues " , package : " queues " ) ,
38+ . product( name: " XCTVapor " , package : " vapor " ) ,
39+ . product( name: " Fluent " , package : " fluent " ) ,
40+ ] ) ,
3041 ]
3142)
0 commit comments