Commit 8db2e7b
authored
Move default handlers from acceptance/internal to libs/testserver (#3495)
## Changes
- Move acceptance/internal/handlers.go to libs/testserver/handlers.go
- Pure move, no other changes.
## Why
The testserver package is useful outside of acceptance test as an
alternative to mocking the client. Default handlers could be useful as
well. I plan add a few unit tests for terranova/resources and those
require a client.1 parent ce47a62 commit 8db2e7b
File tree
2 files changed
+128
-130
lines changed- acceptance/internal
- libs/testserver
2 files changed
+128
-130
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
0 commit comments