Brainfart.
parent
73ad2e4712
commit
280027750f
|
@ -16,7 +16,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/arachnist/gorepost/config"
|
||||
"github.com/arachnist/dyncfg"
|
||||
"github.com/arachnist/gorepost/irc"
|
||||
)
|
||||
|
||||
|
@ -819,5 +819,5 @@ func TestMain(m *testing.M) {
|
|||
}
|
||||
|
||||
func init() {
|
||||
Initialize(config.New(configLookupHelper))
|
||||
Initialize(Dyncfg.New(configLookupHelper))
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@ import (
|
|||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/arachnist/gorepost/config"
|
||||
"github.com/arachnist/dyncfg"
|
||||
)
|
||||
|
||||
var expectedOutput = []Message{
|
||||
|
@ -105,7 +105,7 @@ func TestSetup(t *testing.T) {
|
|||
go fakeServer(t)
|
||||
|
||||
var conn Connection
|
||||
conn.Setup(fakeDispatcher, "TestNet", config.New(configLookupHelper))
|
||||
conn.Setup(fakeDispatcher, "TestNet", dyncfg.New(configLookupHelper))
|
||||
|
||||
time.Sleep(2 * time.Second)
|
||||
|
||||
|
|
Loading…
Reference in New Issue