mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-25 01:04:48 -07:00
decouple HTTP tests from API usage
This commit is contained in:
@@ -13,11 +13,10 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/chihaya/bencode"
|
||||
"github.com/chihaya/chihaya/config"
|
||||
)
|
||||
|
||||
func TestPublicScrape(t *testing.T) {
|
||||
srv, err := setupTracker(&config.DefaultConfig)
|
||||
srv, err := setupTracker(nil, nil)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user