This commit is contained in:
@@ -149,8 +149,7 @@ func TestCompleteModelRestoreOwnershipLossFailsTruthfully(t *testing.T) {
|
||||
if command == nil {
|
||||
t.Fatal("Restore Original did not start")
|
||||
}
|
||||
updated, _ = model.Update(command())
|
||||
model = updated.(Model)
|
||||
model, _ = applyOperationCommand(t, model, command)
|
||||
if len(module.intents) != 1 || module.intents[0].Kind != app.RestoreOriginal || !strings.Contains(model.View(), "Current error") || !strings.Contains(model.View(), "Drifted") {
|
||||
t.Fatalf("ownership-loss result: intents=%#v\n%s", module.intents, model.View())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user