mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 15:36:48 +00:00
fix: util tests to allow single step in funnel
This commit is contained in:
parent
861affa98e
commit
4f6aa4f7d1
@ -114,7 +114,7 @@ func TestValidateFunnelSteps(t *testing.T) {
|
||||
expectError: false,
|
||||
},
|
||||
{
|
||||
name: "too few steps",
|
||||
name: "single step is valid",
|
||||
steps: []*FunnelStep{
|
||||
{
|
||||
ID: valuer.GenerateUUID(),
|
||||
@ -124,7 +124,7 @@ func TestValidateFunnelSteps(t *testing.T) {
|
||||
Order: 1,
|
||||
},
|
||||
},
|
||||
expectError: true,
|
||||
expectError: false,
|
||||
},
|
||||
{
|
||||
name: "missing service name",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user