mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 12:25:53 +02:00
context propagation: pkg/apiserver (#3272)
* context propagation: apic.Push() * context propagation: NewServer() * lint
This commit is contained in:
parent
40021b6bcf
commit
b9bccfa56f
12 changed files with 59 additions and 61 deletions
|
@ -11,9 +11,8 @@ import (
|
|||
)
|
||||
|
||||
func TestLogin(t *testing.T) {
|
||||
router, config := NewAPITest(t)
|
||||
|
||||
ctx := context.Background()
|
||||
router, config := NewAPITest(t, ctx)
|
||||
|
||||
body := CreateTestMachine(t, router, "")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue