mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Updating API tests
This commit is contained in:
@@ -133,8 +133,6 @@ func SetupDefaultSuite() *SuiteSetup {
|
||||
Memory: uint64(256),
|
||||
}
|
||||
|
||||
_, ok := ss.Client.Version.GetVersion(nil)
|
||||
if ok != nil {
|
||||
if Host() != "localhost:8080" {
|
||||
_, ok := http.Get(fmt.Sprintf("http://%s/version", Host()))
|
||||
if ok != nil {
|
||||
@@ -148,7 +146,6 @@ func SetupDefaultSuite() *SuiteSetup {
|
||||
ss.Cancel = cancel
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return ss
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user