Commit Graph

28 Commits

Author SHA1 Message Date
5cd30f6f10 remove debugging code. 2024-12-08 22:03:40 -05:00
79de277f2d Update composer, remove self-rolled flash messages, update the tests to see if they work (they fail) 2024-12-08 21:59:39 -05:00
7c9f5f6bf8 Add pre-request for the form key 2024-12-02 20:04:48 +00:00
bf48532ac1 Get the form key from the session first, and then send the request to create a user afterwards. 2024-12-02 20:03:50 +00:00
60025c1089 Check the whole div tag for the error message 2024-11-29 14:55:36 -05:00
01759b241b Check if the flash renders to the template, check if the flash messages are empty after rendering. 2024-11-29 14:54:17 -05:00
b9b62c2d5c Rewrite the test, which works, yet doesn't work when running the actual site? 2024-11-29 14:50:27 -05:00
ca4be5e3ec Add test case for the flash messages that seems to fail when using the site. 2024-11-25 22:11:22 -05:00
b4bc66d288 Test case for the flash message seems to work 2024-11-25 22:08:28 -05:00
d23a0dbdb6 Fix the repository for users and add a test for the duration parser. 2024-11-15 02:40:28 +00:00
26a779ade0 Fix failing tests 2024-11-05 21:30:20 -05:00
19222f0cf9 Update the namespace for user repository. 2024-06-27 19:32:52 -04:00
079bcb0f06 Move from 'respond' to 'handle' for the controller method. 2024-06-16 21:25:22 -04:00
4ff2c8cc3a Add the login page, add some comments to the test. 2024-06-16 20:09:09 -04:00
34e45ecaee Update the tests for the flash messages. 2024-06-16 07:35:27 -04:00
d25cdd7b1e Add a setup for each test. 2024-06-15 23:10:49 -04:00
f0c91e5aaa Need to add flash when the issue isn't mismatching passwords on the Register User action. 2024-06-15 22:21:09 -04:00
ea97887cac Flash message is empty for some reason 2024-06-04 21:33:20 -04:00
1914885d04 Add some Flash message tests and the flashes to the skeleton template. 2024-06-04 21:16:59 -04:00
76b526646e Remove unnused import in test 2024-06-03 22:30:34 -04:00
ba5f68aa6f Add the Prophecy PhpUnit library, fix the Register user action, test that the flash message also adds failure. 2024-06-03 22:22:39 -04:00
c5feb240c3 Fix the warnings on the test case. 2024-06-02 21:26:10 -04:00
ec3af79323 Test creating a new user. 2024-05-29 22:56:19 -04:00
4548d67eac Add a test for registering a user. 2024-05-25 22:47:52 -04:00
75bccb789d Add some global variables for the templates and test them in the controller. 2024-05-22 22:47:20 -04:00
207304b373 Test JSON responses. 2024-05-22 21:16:47 -04:00
8d5c16fc29 Add content type headers 2024-05-22 21:13:05 -04:00
050eb87e83 Add a controller test. 2024-05-22 20:39:33 -04:00