ux: Improve endpoint validation by checking type on start
This commit is contained in:
1 parent
5c6bf84106
commit
52d7cb6f04
2 files changed
+11
-3
No files matched your search
@@ -1125,7 +1125,7 @@ endpoints:
|
||||
conditions:
|
||||
- "[STATUS] == 200"
|
||||
`))
|
||||
if err != core.ErrEndpointWithNoName {
|
||||
if err == nil {
|
||||
t.Error("should've returned an error")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user