feat: Begins implementing route definitions.
This commit is contained in:
@@ -17,6 +17,12 @@ struct DatabaseClientTests {
|
||||
self.logger = logger
|
||||
}
|
||||
|
||||
@Test
|
||||
func testPath() {
|
||||
let path = AppRoute.ViewRoute.router.path(for: .employee(.index))
|
||||
#expect(path == "/employees")
|
||||
}
|
||||
|
||||
@Test
|
||||
func users() async throws {
|
||||
try await withDatabase(migrations: User.Migrate()) {
|
||||
|
||||
Reference in New Issue
Block a user