Don't extract dominant colors if provided in params
This as the side effect of massively speeding up the test suite: on M1, it goes from 24 seconds to 14.
This commit is contained in:
@@ -95,7 +95,7 @@ defmodule MusicLibrary.Fixtures.Records do
|
||||
release_date: Enum.random(1969..2024) |> Integer.to_string(),
|
||||
purchased_at: current_time,
|
||||
artists: [artist_attrs(artist_name)],
|
||||
dominant_colors: ["#000000", "#C0C0C0", "#C08080", "#404000", "#804040"]
|
||||
dominant_colors: ["#000000", "#c0c0c0", "#c08080", "#404000", "#804040"]
|
||||
})
|
||||
|> MusicLibrary.Records.create_record()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user