From 53434e956070b80bc7b9e4e891178e536defb76a Mon Sep 17 00:00:00 2001
From: Alexis Poyen <apoyen@mail.apoyen.fr>
Date: Fri, 12 Jun 2020 17:22:06 +0200
Subject: [PATCH] Refactor : Not need anymore

---
 internal/rootmux/rootmux_test.go | 2 --
 1 file changed, 2 deletions(-)

diff --git a/internal/rootmux/rootmux_test.go b/internal/rootmux/rootmux_test.go
index ec78871..15c76d1 100644
--- a/internal/rootmux/rootmux_test.go
+++ b/internal/rootmux/rootmux_test.go
@@ -132,8 +132,6 @@ func deletionInCascadeGenericElectionTest(t *testing.T) {
 		json.Unmarshal([]byte(response), &token)
 		xsrfHeader := tester.Header{Key: "XSRF-TOKEN", Value: token.XSRFToken}
 
-		// TODO check that Candidate and candidateLists are deleted in cascade on Party deletion.
-
 		// Test deletion in cascade for generic election
 		do("DELETE", "/api/Election/1", xsrfHeader, ``, 200, ``)
 		do("GET", "/api/Area/1", xsrfHeader, ``, 404, `id is missing`)
-- 
GitLab