From 5c917f924662d4f5ab6105f85546fc92113f458d Mon Sep 17 00:00:00 2001 From: rot1024 Date: Wed, 21 Aug 2024 19:53:34 +0900 Subject: [PATCH] fix(server): fix test error in datacatalogv3 --- server/datacatalog/plateauapi/inmemory_filter_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/datacatalog/plateauapi/inmemory_filter_test.go b/server/datacatalog/plateauapi/inmemory_filter_test.go index ffec88319..cc884d958 100644 --- a/server/datacatalog/plateauapi/inmemory_filter_test.go +++ b/server/datacatalog/plateauapi/inmemory_filter_test.go @@ -19,8 +19,8 @@ func TestFilterDataset(t *testing.T) { t.Run("default stage", func(t *testing.T) { assert.False(t, filterDataset(RelatedDataset{ TypeCode: "emergency_route", - Admin: map[string]any{ - "stage": "beta", + Admin: &Admin{ + Stage: "beta", }, }, DatasetsInput{}, nil)) })