mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-22 04:46:05 +03:00
update tests
This commit is contained in:
parent
5268b49661
commit
69e1d530e3
@ -326,7 +326,7 @@ func TestMgClient_WsMeta(t *testing.T) {
|
|||||||
t.Errorf("%v", err)
|
t.Errorf("%v", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
resUrl := fmt.Sprintf("%s%s%s%s", c.URL, prefix, "/ws?events=", strings.Join(events[:], ","))
|
resUrl := fmt.Sprintf("%s%s%s%s", strings.Replace(c.URL, "https", "ws", 1), prefix, "/ws?events=", strings.Join(events[:], ","))
|
||||||
resToken := c.Token
|
resToken := c.Token
|
||||||
|
|
||||||
assert.Equal(t, resUrl, url)
|
assert.Equal(t, resUrl, url)
|
||||||
|
Loading…
Reference in New Issue
Block a user