feat: enable/disable notifications about internals/barbarians
This commit is contained in:
parent
7ec1f80e72
commit
09eb88ed50
|
@ -585,6 +585,7 @@ func TestMonitor_Execute(t *testing.T) {
|
|||
ServerID: uuid.NewString(),
|
||||
ChannelGains: uuid.NewString(),
|
||||
ChannelLosses: "",
|
||||
Barbarians: true,
|
||||
ServerKey: "pl181",
|
||||
VersionCode: "pl",
|
||||
CreatedAt: time.Now(),
|
||||
|
@ -658,6 +659,12 @@ func TestMonitor_Execute(t *testing.T) {
|
|||
GroupID: groups[4].ID,
|
||||
CreatedAt: time.Now(),
|
||||
},
|
||||
{
|
||||
ID: uuid.NewString(),
|
||||
TribeID: tribes["de:200"][0].ID,
|
||||
GroupID: groups[4].ID,
|
||||
CreatedAt: time.Now(),
|
||||
},
|
||||
},
|
||||
}
|
||||
repo.ListCalls(func(ctx context.Context, groupID string) ([]domain.Monitor, error) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user