diff options
-rw-r--r-- | tests/entry_test.go | 2 | ||||
-rw-r--r-- | tests/user_test.go | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/entry_test.go b/tests/entry_test.go index 369f546..ba22bb9 100644 --- a/tests/entry_test.go +++ b/tests/entry_test.go @@ -100,7 +100,7 @@ func TestSearchEntries(t *testing.T) { t.Fatal(err) } - feedID, err := client.CreateFeed("https://github.com/miniflux/miniflux/releases.atom", categories[0].ID) + feedID, err := client.CreateFeed("https://miniflux.app/feed.xml", categories[0].ID) if err != nil { t.Fatal(err) } diff --git a/tests/user_test.go b/tests/user_test.go index 85b6ebd..6128106 100644 --- a/tests/user_test.go +++ b/tests/user_test.go @@ -67,7 +67,7 @@ func TestGetUsers(t *testing.T) { t.Fatalf(`Invalid language, got "%v"`, users[0].Language) } - if users[0].Theme != "default" { + if users[0].Theme != "light_serif" { t.Fatalf(`Invalid theme, got "%v"`, users[0].Theme) } @@ -104,7 +104,7 @@ func TestCreateStandardUser(t *testing.T) { t.Fatalf(`Invalid language, got "%v"`, user.Language) } - if user.Theme != "default" { + if user.Theme != "light_serif" { t.Fatalf(`Invalid theme, got "%v"`, user.Theme) } @@ -168,7 +168,7 @@ func TestGetUserByID(t *testing.T) { t.Fatalf(`Invalid language, got "%v"`, user.Language) } - if user.Theme != "default" { + if user.Theme != "light_serif" { t.Fatalf(`Invalid theme, got "%v"`, user.Theme) } @@ -219,7 +219,7 @@ func TestGetUserByUsername(t *testing.T) { t.Fatalf(`Invalid language, got "%v"`, user.Language) } - if user.Theme != "default" { + if user.Theme != "light_serif" { t.Fatalf(`Invalid theme, got "%v"`, user.Theme) } @@ -244,7 +244,7 @@ func TestUpdateUserTheme(t *testing.T) { t.Fatal(err) } - theme := "black" + theme := "dark_serif" user, err = client.UpdateUser(user.ID, &miniflux.UserModification{Theme: &theme}) if err != nil { t.Fatal(err) |