Skip to content

Commit

Permalink
fixing Test file
Browse files Browse the repository at this point in the history
Signed-off-by: manisha kumari <[email protected]>
  • Loading branch information
ManishaKumari295 committed May 30, 2024
1 parent d14fc35 commit 9e25487
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 9e25487

Please sign in to comment.