fix(home): 首页业务入口默认展示,避免回收与反馈按钮被总开关隐藏
This commit is contained in:
@@ -2,6 +2,12 @@ package systemconfig
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestDefaultHomeEntriesEnabled(t *testing.T) {
|
||||
if got := defaultHomeEntriesEnabledConfigValue(); got != "true" {
|
||||
t.Fatalf("默认首页业务入口开关 = %q, want true", got)
|
||||
}
|
||||
}
|
||||
|
||||
func TestParseHomeEntriesEnabled(t *testing.T) {
|
||||
cases := []struct {
|
||||
value string
|
||||
|
||||
Reference in New Issue
Block a user