github.com/kotalco/kotal@v0.3.0/controllers/shared/webhook_test.go (about)

     1  package shared
     2  
     3  import "testing"
     4  
     5  func TestIsWebhookEnabled(t *testing.T) {
     6  	expected := true
     7  	got := IsWebhookEnabled()
     8  	if got != expected {
     9  		t.Errorf("Expected webhook enabled to be %t , got %t", expected, got)
    10  	}
    11  }