feat: Seeing if case paths can help with base route lookup.
This commit is contained in:
@@ -17,11 +17,11 @@ struct DatabaseClientTests {
|
||||
self.logger = logger
|
||||
}
|
||||
|
||||
@Test
|
||||
func testPath() {
|
||||
let path = ApiRoute.router.path(for: .employee(.index))
|
||||
#expect(path == "/api/v1/employees")
|
||||
}
|
||||
// @Test
|
||||
// func testPath() {
|
||||
// let path = ApiRoute.router.path(for: .employee(.index))
|
||||
// #expect(path == "/api/v1/employees")
|
||||
// }
|
||||
|
||||
@Test
|
||||
func users() async throws {
|
||||
|
||||
Reference in New Issue
Block a user