From 76c7325b6222d0a95c3e0775e72494f49f878f5c Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 15 Dec 2024 20:29:41 +0000 Subject: Improve category tests with authentication and unique data Added user login in setup to simulate admin access for tests. Ensured unique category names in creation tests to prevent conflicts. Updated category fixture data to reflect more distinct values. --- test/fixtures/categories.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/fixtures/categories.yml') diff --git a/test/fixtures/categories.yml b/test/fixtures/categories.yml index 9074eff..056aa82 100644 --- a/test/fixtures/categories.yml +++ b/test/fixtures/categories.yml @@ -6,6 +6,6 @@ one: badge_foreground_colour: MyString two: - name: MyString - colour: MyString - badge_foreground_colour: MyString + name: MyString2 + colour: MyString2 + badge_foreground_colour: MyString2 -- cgit v1.2.3