Remove remaining sync mocks
This commit is contained in:
parent
1d266c88c1
commit
7be8b428e4
2 changed files with 0 additions and 16 deletions
|
|
@ -30,11 +30,6 @@ type contentLayoutTest struct {
|
|||
type ContentDistrict struct {
|
||||
}
|
||||
|
||||
func getDistrict(w http.ResponseWriter, r *http.Request) {
|
||||
context := ContentDistrict{}
|
||||
html.RenderOrError(w, "sync/district.html", &context)
|
||||
}
|
||||
|
||||
func getLayoutTest(ctx context.Context, r *http.Request, user platform.User) (*html.Response[contentLayoutTest], *nhttp.ErrorWithStatus) {
|
||||
return html.NewResponse("sync/layout-test.html", contentLayoutTest{}), nil
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,17 +16,6 @@ func Router(r *mux.Router) {
|
|||
r.HandleFunc("/mailer/mode-1/preview", getMailer1Preview)
|
||||
r.HandleFunc("/mailer/mode-2/preview", getMailer2Preview)
|
||||
r.HandleFunc("/mailer/mode-3/{code}/preview", getMailer3Preview)
|
||||
r.HandleFunc("/district", getDistrict)
|
||||
|
||||
// Mock endpoints
|
||||
r.HandleFunc("/mock", renderMockList)
|
||||
addMock(r, "/mock/report", "sync/mock/report.html")
|
||||
addMock(r, "/mock/report/{code}", "sync/mock/report-detail.html")
|
||||
addMock(r, "/mock/report/{code}/confirm", "sync/mock/report-confirmation.html")
|
||||
addMock(r, "/mock/report/{code}/contribute", "sync/mock/report-contribute.html")
|
||||
addMock(r, "/mock/report/{code}/evidence", "sync/mock/report-evidence.html")
|
||||
addMock(r, "/mock/report/{code}/schedule", "sync/mock/report-schedule.html")
|
||||
addMock(r, "/mock/report/{code}/update", "sync/mock/report-update.html")
|
||||
|
||||
// Utility endpoints
|
||||
r.HandleFunc("/privacy", getPrivacy)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue