diff --git a/lxd/state/testing.go b/lxd/state/testing.go
index <HASH>..<HASH> 100644
--- a/lxd/state/testing.go
+++ b/lxd/state/testing.go
@@ -28,7 +28,7 @@ func NewTestState(t *testing.T) (*State, func()) {
 		osCleanup()
 	}
 
-	state := NewState(context.TODO(), node, cluster, nil, os, nil, nil, nil, firewall.New(), nil)
+	state := NewState(context.TODO(), node, cluster, nil, os, nil, nil, nil, firewall.New(), nil, nil, func() {})
 
 	return state, cleanup
 }
lxd/state: Update tests with NewState usage