From 2f57a6c9e7414522de2f55b43a87513c81360f0a Mon Sep 17 00:00:00 2001 From: Jacky Date: Mon, 18 Nov 2024 19:21:50 +0800 Subject: [PATCH] fix: settings test --- settings/settings_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/settings_test.go b/settings/settings_test.go index 8fdb7e58..76132df7 100644 --- a/settings/settings_test.go +++ b/settings/settings_test.go @@ -102,7 +102,7 @@ func TestSetup(t *testing.T) { assert.Equal(t, "newSecret123", cSettings.AppSettings.JwtSecret) // Database - assert.Equal(t, "", cSettings.DataBaseSettings.Name) + assert.Equal(t, "testDB", DatabaseSettings.Name) // Auth assert.Equal(t, []string{"127.0.0.1", "192.168.1.1"}, AuthSettings.IPWhiteList)