Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ahobsonsayers committed Dec 26, 2024
1 parent c7ecc2b commit c89bf1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions goodreads/goodreads_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func checkTheHobbitBookDetails(t *testing.T, book goodreads.Book) {
require.Regexp(t, "1546071216l/5907.jpg$", book.BestEdition.ImageURL)
require.Equal(t, "English", book.BestEdition.Language)
require.Equal(t, TheHobbitBookAuthor, book.Authors[0].Name)
require.Equal(t, "The Lord of the Rings", book.Series[0].Series.Title)
require.Equal(t, "Middle Earth", book.Series[0].Series.Title)
require.Equal(t, "0", *book.Series[0].BookPosition)
require.EqualValues(t, []string{"Fantasy", "Classic", "Fiction"}, book.Genres)
require.EqualValues(t, []string{"Fantasy", "Fiction", "Classic"}, book.Genres)
}

0 comments on commit c89bf1b

Please sign in to comment.