Skip to content

Commit

Permalink
feat/opg-scanning-poc: updated handler_test.go.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Mackenzie committed Nov 1, 2024
1 parent bc21772 commit 7dbd699
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion service-app/internal/api/handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func setupController() *IndexController {
}
}

func TestIngestHandler_Success(t *testing.T) {
func TestIngestHandler_SetValid(t *testing.T) {
controller := setupController()

req := httptest.NewRequest(http.MethodPost, "/ingest", bytes.NewBuffer([]byte(xmlPayload)))
Expand Down Expand Up @@ -90,6 +90,7 @@ func TestIngestHandler_InvalidXML(t *testing.T) {
}
}

// TODO: Complete this test
func TestIngestHandler_QueueingDocuments(t *testing.T) {
controller := setupController()

Expand Down

0 comments on commit 7dbd699

Please sign in to comment.