Pull request: all: fix names of runtime clients on query log page
Updates #2929. Squashed commit of the following: commit f02111aac1e9d63732589b65b224613aa3240677 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Apr 7 17:40:16 2021 +0300 all: fix names of runtime clients on query log page
This commit is contained in:
@@ -16,7 +16,6 @@ func TestQueryLog_Search_findClient(t *testing.T) {
|
||||
const unknownClientID = "client-2"
|
||||
|
||||
knownClient := &Client{
|
||||
IDs: []string{knownClientID},
|
||||
Name: knownClientName,
|
||||
}
|
||||
|
||||
@@ -91,5 +90,4 @@ func TestQueryLog_Search_findClient(t *testing.T) {
|
||||
require.NotNil(t, gotClient)
|
||||
|
||||
assert.Equal(t, knownClientName, gotClient.Name)
|
||||
assert.Equal(t, []string{knownClientID}, gotClient.IDs)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user