feat: enable/disable notifications about internals/barbarians

This commit is contained in:
Dawid Wysokiński 2022-10-28 12:29:02 +02:00
parent 7ec1f80e72
commit 09eb88ed50
Signed by: Kichiyaki
GPG Key ID: B5445E357FB8B892

View File

@ -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) {