Initial implementation of osqueryd enrollment + tests (#36)
*EnrollHost now generates a node key and stores host information into the DB * Unit and integration tests Closes #6
This commit is contained in:
committed by
GitHub
parent
4db4e95b38
commit
809a010a1d
@@ -149,8 +149,6 @@ func TestReturnErrorValidationError(t *testing.T) {
|
||||
t.Errorf("Should respond with 422, got %d", resp.Code)
|
||||
}
|
||||
|
||||
t.Log(resp.Body.String())
|
||||
|
||||
var bodyJson map[string]interface{}
|
||||
if err := json.Unmarshal(resp.Body.Bytes(), &bodyJson); err != nil {
|
||||
t.Errorf("Error unmarshaling JSON: %s", err.Error())
|
||||
|
||||
Reference in New Issue
Block a user