mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 16:24:03 +03:00
Rework events
This commit is contained in:
@@ -37,10 +37,10 @@ func (suite *ConnTrafficTestSuite) SetupTest() {
|
||||
suite.eventStreamMock = &EventStreamMock{}
|
||||
suite.connMock = &testlib.NetConnMock{}
|
||||
suite.conn = connTraffic{
|
||||
Conn: suite.connMock,
|
||||
connID: "CONNID",
|
||||
ctx: context.Background(),
|
||||
stream: suite.eventStreamMock,
|
||||
Conn: suite.connMock,
|
||||
streamID: "CONNID",
|
||||
ctx: context.Background(),
|
||||
stream: suite.eventStreamMock,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user