mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
terraform: test post state update is called
This commit is contained in:
parent
95cf69aa32
commit
ac167c3082
@ -4454,6 +4454,9 @@ func TestContext2Apply_hook(t *testing.T) {
|
|||||||
if !h.PostApplyCalled {
|
if !h.PostApplyCalled {
|
||||||
t.Fatal("should be called")
|
t.Fatal("should be called")
|
||||||
}
|
}
|
||||||
|
if !h.PostStateUpdateCalled {
|
||||||
|
t.Fatalf("should call post state update")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestContext2Apply_idAttr(t *testing.T) {
|
func TestContext2Apply_idAttr(t *testing.T) {
|
||||||
|
Loading…
Reference in New Issue
Block a user