Files
music_library/backlog/completed/ml-97 - Duplicate-fixture-definitions-in-tests-partially-solved.md
2026-05-04 21:22:27 +01:00

1001 B

id, title, status, assignee, created_date, labels, dependencies, references, priority
id title status assignee created_date labels dependencies references priority
ML-97 Duplicate fixture definitions in tests (partially solved) Done
2026-04-20 08:58
https://github.com/cloud8421/music_library/issues/77
low

Description

GitHub: created 2026-02-17 · updated 2026-03-06 · closed 2026-03-06

Priority: Medium

Description

scrobble_rule_fixture/1 was duplicated in test/support/fixtures/scrobble_rules_fixtures.ex and locally in test/music_library/scrobble_rules_test.exs. The local copy has been removed; the test now imports the shared fixture module.

The scrobbled_track_fixture naming inconsistency remains — it is defined locally in test/music_library/scrobble_rules_test.exs:29 and not shared.

Expected behavior

Move scrobbled_track_fixture to a shared fixture module for consistency.

Source

From technical debt audit (2026-02-17), item #4.