mirror of
https://github.com/miniflux/v2.git
synced 2025-08-11 17:51:01 +00:00
Make default home page configurable
This commit is contained in:
parent
45a9fd5af6
commit
03a1cfcd5e
30 changed files with 125 additions and 14 deletions
|
@ -17,6 +17,7 @@ func TestValid(t *testing.T) {
|
|||
DisplayMode: "standalone",
|
||||
DefaultReadingSpeed: 35,
|
||||
CJKReadingSpeed: 25,
|
||||
DefaultHomePage: "unread",
|
||||
}
|
||||
|
||||
err := settings.Validate()
|
||||
|
@ -38,6 +39,7 @@ func TestConfirmationEmpty(t *testing.T) {
|
|||
DisplayMode: "standalone",
|
||||
DefaultReadingSpeed: 35,
|
||||
CJKReadingSpeed: 25,
|
||||
DefaultHomePage: "unread",
|
||||
}
|
||||
|
||||
err := settings.Validate()
|
||||
|
@ -63,6 +65,7 @@ func TestConfirmationIncorrect(t *testing.T) {
|
|||
DisplayMode: "standalone",
|
||||
DefaultReadingSpeed: 35,
|
||||
CJKReadingSpeed: 25,
|
||||
DefaultHomePage: "unread",
|
||||
}
|
||||
|
||||
err := settings.Validate()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue