mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 20:36:12 +02:00
Allow auto registration of machines in LAPI (#3202)
Co-authored-by: marco <marco@crowdsec.net>
This commit is contained in:
parent
8c0c10cd7a
commit
d2616766de
17 changed files with 548 additions and 173 deletions
|
@ -12,7 +12,7 @@ import (
|
|||
func TestLogin(t *testing.T) {
|
||||
router, config := NewAPITest(t)
|
||||
|
||||
body := CreateTestMachine(t, router)
|
||||
body := CreateTestMachine(t, router, "")
|
||||
|
||||
// Login with machine not validated yet
|
||||
w := httptest.NewRecorder()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue