From dc8d26ddd5c008226af35744ba0b19b559c6e738 Mon Sep 17 00:00:00 2001 From: ko_oler <kooler89@gmail.com> Date: Wed, 18 Oct 2023 18:39:58 +0300 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D1=8B=20?= =?UTF-8?q?=D0=BB=D0=B8=D1=88=D0=BD=D0=B8=D0=B5=20=D1=82=D0=B5=D1=81=D1=82?= =?UTF-8?q?=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/extension/schema_test.go | 39 ------------------------------------ 1 file changed, 39 deletions(-) diff --git a/pkg/extension/schema_test.go b/pkg/extension/schema_test.go index a3381330..7d33a4b5 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) { -- GitLab