mirror of
https://github.com/miniflux/v2.git
synced 2025-08-01 17:38:37 +00:00
parent
b68ada396a
commit
00dabc1d3c
31 changed files with 188 additions and 74 deletions
|
@ -22,6 +22,7 @@ func TestValid(t *testing.T) {
|
|||
DefaultReadingSpeed: 35,
|
||||
CJKReadingSpeed: 25,
|
||||
DefaultHomePage: "unread",
|
||||
MediaPlaybackRate: 1.25,
|
||||
}
|
||||
|
||||
err := settings.Validate()
|
||||
|
@ -45,6 +46,7 @@ func TestConfirmationEmpty(t *testing.T) {
|
|||
DefaultReadingSpeed: 35,
|
||||
CJKReadingSpeed: 25,
|
||||
DefaultHomePage: "unread",
|
||||
MediaPlaybackRate: 1.25,
|
||||
}
|
||||
|
||||
err := settings.Validate()
|
||||
|
@ -72,6 +74,7 @@ func TestConfirmationIncorrect(t *testing.T) {
|
|||
DefaultReadingSpeed: 35,
|
||||
CJKReadingSpeed: 25,
|
||||
DefaultHomePage: "unread",
|
||||
MediaPlaybackRate: 1.25,
|
||||
}
|
||||
|
||||
err := settings.Validate()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue