feat: Begins live database client tests.
All checks were successful
CI / Linux Tests (push) Successful in 5m35s

This commit is contained in:
2026-01-30 12:02:11 -05:00
parent 4f3cc2c7ea
commit c32ffcff8c
17 changed files with 332 additions and 178 deletions

View File

@@ -0,0 +1,29 @@
import Dependencies
import DependenciesTestSupport
import Fluent
import FluentSQLiteDriver
import ManualDCore
import Testing
import Vapor
@testable import DatabaseClient
@Suite
struct ProjectTests {
@Test
func sanity() {
#expect(Bool(true))
}
// @Test
// func createProject() {
// try await withDatabase(migrations: Project.Migrate()) {
// $0.database.projects = .live(database: $1)
// } operation: {
// @Dependency(\.database.projects) var projects
//
// let project = try await projects.c
// }
// }
}