From dc4f8f22f35a7b7c4cda05409214e7a2314e45db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=C5=BE=20Jerman?= Date: Fri, 17 Mar 2023 11:14:51 +0100 Subject: [PATCH] Fix failing tests --- server/tests/envoy/import_export_test.go | 1 + server/tests/envoy/rbac_rules_test.go | 1 + server/tests/envoy/res_tr_test.go | 1 + server/tests/envoy/testdata/datasource_records/def.yaml | 2 +- 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/server/tests/envoy/import_export_test.go b/server/tests/envoy/import_export_test.go index 64e4721ad..b17c8ad1f 100644 --- a/server/tests/envoy/import_export_test.go +++ b/server/tests/envoy/import_export_test.go @@ -91,6 +91,7 @@ func TestImportExport(t *testing.T) { Type: envoyx.DecodeTypeStore, Params: map[string]any{ "storer": defaultStore, + "dal": defaultDal, }, Filter: map[string]envoyx.ResourceFilter{ types.ChartResourceType: {}, diff --git a/server/tests/envoy/rbac_rules_test.go b/server/tests/envoy/rbac_rules_test.go index d2006f149..24c8e4a12 100644 --- a/server/tests/envoy/rbac_rules_test.go +++ b/server/tests/envoy/rbac_rules_test.go @@ -91,6 +91,7 @@ func TestRbacImportExport(t *testing.T) { Type: envoyx.DecodeTypeStore, Params: map[string]any{ "storer": defaultStore, + "dal": defaultDal, }, Filter: map[string]envoyx.ResourceFilter{ types.ModuleResourceType: {}, diff --git a/server/tests/envoy/res_tr_test.go b/server/tests/envoy/res_tr_test.go index 4ab16e8b3..fa9f1f06b 100644 --- a/server/tests/envoy/res_tr_test.go +++ b/server/tests/envoy/res_tr_test.go @@ -92,6 +92,7 @@ func TestResTrImportExport(t *testing.T) { Type: envoyx.DecodeTypeStore, Params: map[string]any{ "storer": defaultStore, + "dal": defaultDal, }, Filter: map[string]envoyx.ResourceFilter{ types.ModuleResourceType: {}, diff --git a/server/tests/envoy/testdata/datasource_records/def.yaml b/server/tests/envoy/testdata/datasource_records/def.yaml index 9197302a9..1aa0085a5 100644 --- a/server/tests/envoy/testdata/datasource_records/def.yaml +++ b/server/tests/envoy/testdata/datasource_records/def.yaml @@ -9,7 +9,7 @@ namespace: title: Test Namespace 1 Module 1 Field 1 test_ns_1_mod_1_f2: title: Test Namespace 1 Module 1 Field 2 - kind: Number + kind: String source: - from: records.csv key: ID