(t *testing.T)
| 91 | } |
| 92 | |
| 93 | func TestGetReconciliation(t *testing.T) { |
| 94 | router, _, err := setupRouter(t) |
| 95 | if err != nil { |
| 96 | t.Fatalf("Failed to setup router: %v", err) |
| 97 | } |
| 98 | |
| 99 | t.Run("Reconciliation not found", func(t *testing.T) { |
| 100 | req := httptest.NewRequest("GET", "/reconciliation/rec_nonexistent", nil) |
| 101 | resp := httptest.NewRecorder() |
| 102 | router.ServeHTTP(resp, req) |
| 103 | assert.Equal(t, http.StatusNotFound, resp.Code) |
| 104 | }) |
| 105 | } |
| 106 | |
| 107 | func TestCreateMatchingRule(t *testing.T) { |
| 108 | router, _, err := setupRouter(t) |
nothing calls this directly
no test coverage detected