From 7258519cf2719c7cdd830bc6e5fdd91ccded37b7 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Sat, 23 Nov 2024 23:19:08 +0000 Subject: [PATCH] Remove ' as it breaks a full text query Query: SELECT count(*) FROM "records_search_index" AS r0 WHERE (NOT (r0."purchased_at" IS NULL)) AND (records_search_index = '"Larks' Tongues in Aspic"*') Needs escaping. --- test/support/fixtures/records_fixtures.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/support/fixtures/records_fixtures.ex b/test/support/fixtures/records_fixtures.ex index 1c583c9e..c10d6616 100644 --- a/test/support/fixtures/records_fixtures.ex +++ b/test/support/fixtures/records_fixtures.ex @@ -25,7 +25,7 @@ defmodule MusicLibrary.RecordsFixtures do "The Dark Side of the Moon", "Wish You Were Here", "Selling England by the Pound", - "Larks' Tongues in Aspic", + "Larks Tongues in Aspic", "Red", "Foxtrot", "The Lamb Lies Down on Broadway",