fix: correct ISBN edge cases test expectation

- Fix "ISBN with multiple hyphens" test expected value
- Input "978-0-306-40615-7" should normalize to "9780306406157"
This commit is contained in:
2026-02-11 17:23:37 -05:00
parent 8fc3712cfb
commit 02add5e9cc
+1 -1
View File
@@ -258,7 +258,7 @@ func TestMediaItemISBNEdgeCases(t *testing.T) {
json.NewDecoder(resp.Body).Decode(&response)
assert.Equal(t, http.StatusCreated, resp.StatusCode)
assert.Equal(t, "9780123456789", response["isbn"])
assert.Equal(t, "9780306406157", response["isbn"])
})
t.Run("ISBN with trailing hyphen", func(t *testing.T) {