test: fill become_key_id

This commit is contained in:
fiftin 2024-03-20 13:00:21 +01:00
parent 96d0c2ee62
commit 4a04b9df58

View File

@ -209,6 +209,7 @@ func alterRequestBody(t *trans.Transaction) {
bodyFieldProcessor("json", "{}", &request)
if userKey != nil {
bodyFieldProcessor("ssh_key_id", userKey.ID, &request)
bodyFieldProcessor("become_key_id", userKey.ID, &request)
}
bodyFieldProcessor("environment_id", environmentID, &request)
bodyFieldProcessor("inventory_id", inventoryID, &request)