test: machine (#683)

* test: machine

* test: better naming
This commit is contained in:
Silvan
2020-09-15 15:04:02 +02:00
committed by GitHub
parent 3e7cfcbca3
commit 71abc4f077
17 changed files with 548 additions and 268 deletions

View File

@@ -32,10 +32,6 @@ func (sa *Machine) AppendEvent(event *models.Event) (err error) {
switch event.Type {
case MachineAdded, MachineChanged:
err = sa.setData(event)
case MachineKeyAdded:
fallthrough
case MachineKeyRemoved:
logging.Log("MODEL-iBgOc").Warn("key unimplemented")
}
return err