@@ -20,19 +20,19 @@ func TestGroupingFeatureRefs(t *testing.T) {
2020 NameAlias : "aliasViewA" ,
2121 },
2222 },
23- EntityNames : []string {"driver" , "customer" },
23+ Entities : []string {"driver" , "customer" },
2424 }
2525 viewB := & model.FeatureView {
26- Base : & model.BaseFeatureView {Name : "viewB" },
27- EntityNames : []string {"driver" , "customer" },
26+ Base : & model.BaseFeatureView {Name : "viewB" },
27+ Entities : []string {"driver" , "customer" },
2828 }
2929 viewC := & model.FeatureView {
30- Base : & model.BaseFeatureView {Name : "viewC" },
31- EntityNames : []string {"driver" },
30+ Base : & model.BaseFeatureView {Name : "viewC" },
31+ Entities : []string {"driver" },
3232 }
3333 viewD := & model.FeatureView {
34- Base : & model.BaseFeatureView {Name : "viewD" },
35- EntityNames : []string {"customer" },
34+ Base : & model.BaseFeatureView {Name : "viewD" },
35+ Entities : []string {"customer" },
3636 }
3737 refGroups , _ := GroupFeatureRefs (
3838 []* FeatureViewAndRefs {
@@ -105,11 +105,11 @@ func TestGroupingFeatureRefsWithJoinKeyAliases(t *testing.T) {
105105 JoinKeyMap : map [string ]string {"location_id" : "destination_id" },
106106 },
107107 },
108- EntityNames : []string {"location" },
108+ Entities : []string {"location" },
109109 }
110110 viewB := & model.FeatureView {
111- Base : & model.BaseFeatureView {Name : "viewB" },
112- EntityNames : []string {"location" },
111+ Base : & model.BaseFeatureView {Name : "viewB" },
112+ Entities : []string {"location" },
113113 }
114114
115115 refGroups , _ := GroupFeatureRefs (
@@ -164,7 +164,7 @@ func TestGroupingFeatureRefsWithMissingKey(t *testing.T) {
164164 JoinKeyMap : map [string ]string {"location_id" : "destination_id" },
165165 },
166166 },
167- EntityNames : []string {"location" },
167+ Entities : []string {"location" },
168168 }
169169
170170 _ , err := GroupFeatureRefs (
0 commit comments