mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 20:36:12 +02:00
Apiclient tests (#484)
Co-authored-by: AlteredCoder Co-authored-by: erenJag
This commit is contained in:
parent
000fec27df
commit
71ac0d2fce
28 changed files with 1385 additions and 74 deletions
|
@ -150,6 +150,5 @@ func TestUnknownPath(t *testing.T) {
|
|||
router.ServeHTTP(w, req)
|
||||
|
||||
assert.Equal(t, 404, w.Code)
|
||||
assert.Equal(t, "{\"message\":\"Page or Method not found\"}", w.Body.String())
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue