MM-21898 - Part 1: Generate and use an interface instead of *A… (#13840)
* Generate and use an interface instead of *App
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
66fc096768
Коммит
17523fa5d9
@@ -126,7 +126,7 @@ func TestCORSRequestHandling(t *testing.T) {
|
||||
})
|
||||
defer th.TearDown()
|
||||
|
||||
port := th.App.Srv.ListenAddr.Port
|
||||
port := th.App.Srv().ListenAddr.Port
|
||||
host := fmt.Sprintf("http://localhost:%v", port)
|
||||
url := fmt.Sprintf("%v/api/v4/system/ping", host)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user