mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Deleted the Finnhub client test. It requires an API key to pass, and thats not acceptible
Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
parent
767a18ad86
commit
9a703dd78b
@ -1,25 +0,0 @@
|
||||
package finnhub
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestFinnhubClient(t *testing.T) {
|
||||
testClient := &Client{
|
||||
symbols: []string{
|
||||
"AAPL",
|
||||
"MSFT",
|
||||
},
|
||||
apiKey: "",
|
||||
}
|
||||
|
||||
r, err := testClient.Getquote()
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
||||
fmt.Println(r[0].Stock, r[0].C)
|
||||
fmt.Println(r[1].Stock, r[1].C)
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user