diff --git a/tests/diagoLatencyExtension_test.go b/tests/diagoLatencyExtension_test.go
index c875c8d..f80d015 100644
--- a/tests/diagoLatencyExtension_test.go
+++ b/tests/diagoLatencyExtension_test.go
@@ -13,12 +13,6 @@ import (
"time"
)
-type mockDiagoPanelGenerator struct{}
-
-func (m *mockDiagoPanelGenerator) GenerateDiagoPanelHTML(data struct{ Latency string }) (string, error) {
- return "
Mocked HTML: " + data.Latency + "
", nil
-}
-
func TestDiagoLatencyExtension(t *testing.T) {
latencyExtension := extensions.NewDiagoLatencyExtension()
@@ -154,20 +148,6 @@ func (m *mockInvalidTemplateProvider) GetDiagoLatencyPanelTemplate() string {
return "{{ .InvalidField"
}
-/*
- func TestGenerateDiagoPanelHTML_TemplateParseError2(t *testing.T) {
- generator := extensions.NewDefaultPanelGenerator()
-
- invalidTemplateProvider := &mockInvalidTemplateProvider{}
-
- latencyData := extensions.LatencyData{Latency: "500 ms"}
-
- result, err := generator.GenerateDiagoPanelHTML(invalidTemplateProvider, latencyData)
-
- assert.Error(t, err, "Expected error while parsing template")
- assert.Empty(t, result, "Expected empty result when parsing fails")
- }
-*/
func TestGenerateDiagoPanelHTML_TemplateExecuteError(t *testing.T) {
mockProvider := &mockTemplateProviderWithExecuteError{}