fix(api): address base paths containing a v1 were being truncated
This commit is contained in:
1 parent
e4d1e501cf
commit
a6f50e675c
2 files changed
+7
-1
No files matched your search
@@ -57,6 +57,12 @@ func TestConfigSetAddress(t *testing.T) {
|
||||
"http://127.0.0.1:9200/my-install",
|
||||
"",
|
||||
},
|
||||
{
|
||||
"valid project path containing v1",
|
||||
"http://127.0.0.1:9200/randomPathHasv1InIt",
|
||||
"http://127.0.0.1:9200/randomPathHasv1InIt",
|
||||
"",
|
||||
},
|
||||
}
|
||||
|
||||
for _, v := range tests {
|
||||
|
||||
Reference in new issue
Block a user