aboutsummaryrefslogtreecommitdiffstats
path: root/test (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-12-15More passing tests - some for pdfresources.HEADmasterMatthew Lemon2-16/+35
2024-12-15Improve category tests with authentication and unique dataMatthew Lemon2-4/+8
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.
2024-12-15ResourceType tests now passMatthew Lemon1-3/+8
2024-12-15Add `is_admin` attribute to user fixturesMatthew Lemon1-0/+2
This update includes an `is_admin` attribute for the `one` and `two` user fixtures in the test data. It ensures tests can account for admin-specific functionality.
2024-12-15Simplify session param structure in tests and controller.Matthew Lemon1-1/+1
Fixes bug with passing the password Replaced nested session hash with direct email and password params in test setup, aligning with the updated `SessionsController`. This ensures consistency between test code and actual implementation.
2024-12-13wip: fixing testsMatthew Lemon3-2/+9
2024-11-14Adds category model but not wired up to resource yetMatthew Lemon4-0/+111
2024-11-14Adds ResourceType modelMatthew Lemon4-0/+103
2024-11-11Adds first pdfresource modelMatthew Lemon4-0/+131