t.Fatalf("expected both actions to have the same triggering resource address, but got %s and %s",actionTriggers[0].TriggeringResourceAddr,actionTriggers[1].TriggeringResourceAddr)
t.Fatalf("expected both actions to have different triggering resource instance keys, but got the same %s",actionTriggers[0].TriggeringResourceAddr.Resource.Key)
}
},
},
"expanded resource - expanded action":{
@ -1093,7 +1127,23 @@ resource "test_object" "a" {
t.Fatalf("expected action addresses to be 'action.test_action.hello[0]' and 'action.test_action.hello[1]', got %v",actionAddrs)
}
// TODO: Test that action the triggering resource address is set correctly
t.Fatalf("expected both actions to have the same triggering resource address, but got %s and %s",actionTriggers[0].TriggeringResourceAddr,actionTriggers[1].TriggeringResourceAddr)
t.Fatalf("expected both actions to have different triggering resource instance keys, but got the same %s",actionTriggers[0].TriggeringResourceAddr.Resource.Key)