From 9e254870cd7ad5c6ee463468e8a7a5ac36fd0ff9 Mon Sep 17 00:00:00 2001 From: manisha kumari Date: Thu, 30 May 2024 15:25:27 +0530 Subject: [PATCH] fixing Test file Signed-off-by: manisha kumari --- main_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main_test.go b/main_test.go index 40a94b4..bd2eb13 100644 --- a/main_test.go +++ b/main_test.go @@ -124,7 +124,8 @@ func TestSendMessage(t *testing.T) { func TestCheckArgs(t *testing.T) { // Test case where webhook URL is missing - event := &corev2.Event{} + //event := &corev2.Event{} + event := corev2.FixtureEvent("entity1", "check1") err := checkArgs(event) fmt.Println("ERR is", err) assert.NotNil(t, err.Error())