移除Notice

This commit is contained in:
ryan
2026-06-22 12:00:43 +08:00
parent 6719c02d05
commit ffe98f6307
11 changed files with 10 additions and 155 deletions
@@ -73,18 +73,6 @@ func TestUpdateOptionHotReloadsOptionMap(t *testing.T) {
assert.Equal(t, "HotReloaded", model.SystemName)
}
func TestGetNotice(t *testing.T) {
cleanup := setupOptionTestDB(t)
defer cleanup()
ctx := context.Background()
require.NoError(t, updateOption(ctx, model.OpenFlareOption{Key: "Notice", Value: "hello"}))
notice, err := getNotice(ctx)
require.NoError(t, err)
assert.Equal(t, "hello", notice)
}
func TestLookupGeoIPDisabledProvider(t *testing.T) {
cleanup := setupOptionTestDB(t)
defer cleanup()