diff --git a/pkg/extension/schema_test.go b/pkg/extension/schema_test.go index a3381330c85bd13582f8b33383080975a7c8534f..7d33a4b5ef724ad2e2a9dc98723b39f8139a46b2 100644 --- a/pkg/extension/schema_test.go +++ b/pkg/extension/schema_test.go @@ -5,7 +5,6 @@ import ( "testing" "git.perx.ru/perxis/perxis-go/pkg/schema/validate" - pb "git.perx.ru/perxis/perxis-go/proto/extensions" ) func Test_getEnumOpt(t *testing.T) { @@ -24,44 +23,6 @@ func Test_getEnumOpt(t *testing.T) { {Name: "w", Value: float64(1000)}, }, }, - { - name: "#2", - opts: pb.Action_Kind_name, - want: []validate.EnumOpt{ - {Name: "DEFAULT", Value: float64(0)}, - {Name: "SPACE", Value: float64(1)}, - {Name: "ENVIRONMENT", Value: float64(2)}, - {Name: "COLLECTION", Value: float64(3)}, - {Name: "ITEM", Value: float64(4)}, - {Name: "ITEMS", Value: float64(5)}, - {Name: "REVISION", Value: float64(6)}, - {Name: "CREATE", Value: float64(7)}, - }, - }, - { - name: "#3", - opts: pb.Action_View_name, - want: []validate.EnumOpt{ - {Name: "DEFAULT_VIEW", Value: float64(0)}, - {Name: "HIDDEN_VIEW", Value: float64(1)}, - {Name: "MAIN_MENU_VIEW", Value: float64(2)}, - {Name: "MAIN_MENU_BOTTOM_VIEW", Value: float64(3)}, - }, - }, - { - name: "#4", - opts: pb.Target_name, - want: []validate.EnumOpt{ - {Name: "DEFAULT", Value: float64(0)}, - {Name: "MODAL", Value: float64(1)}, - {Name: "WIDE", Value: float64(2)}, - {Name: "MAIN", Value: float64(4)}, - {Name: "DRAWER", Value: float64(5)}, - {Name: "NOTIFICATION", Value: float64(6)}, - {Name: "BLANK", Value: float64(7)}, - {Name: "NONE", Value: float64(100)}, - }, - }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {