Commit Graph

37 Commits

Author SHA1 Message Date
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
8dce6a1603 Test throwing EntityNotFoundException when trying to get nothing from the repository. 2024-11-18 20:31:44 -05:00
e5bd4e5841 Get a user from the database 2024-11-18 03:12:56 +00:00
2269254e26 Don't tell prophecy to return true twice 2024-11-18 03:00:08 +00:00
0825c098e5 Updated the episode repository, look for any other instances of the insert method from the database handler. 2024-11-18 02:54:45 +00:00
8ab60512aa Add the Update change, and see what changes need to happen to the DB handler's methods 2024-11-18 02:40:16 +00:00
38e61f5eb2 add some documentation to the test cases we are working on. 2024-11-18 02:05:12 +00:00
730777a5ca Use some type hinting in the comments to implement a more generic connection method for the DB handler. 2024-11-18 02:03:48 +00:00
1b14f1523b Refactor some of the testing, try and understand why the mocking for the DB Handler is returning null and not true 2024-11-18 01:47:18 +00:00
811912784b Add some mocking and testing for the repository class, break out the database handler 2024-11-16 22:54:26 -05:00
fe627259db Test many permutations of the duration parser. 2024-11-15 02:44:49 +00:00
d92fa75229 Rename the episode test. 2024-11-15 02:40:57 +00: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
5aa3d215ab Add Prophecy for testing 2024-05-29 22:15:59 -04:00
5a86bb3579 Add a test for the basic user auth 2024-05-25 22:55:47 -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
39018f78d9 Add the Test harness 2024-05-21 22:33:17 -04:00
03a4040075 Nah CodeIgniter aint it 2024-05-13 20:23:04 -04:00
ebcd24c67f Ehh using CodeIgniter now 2024-05-11 21:32:46 -04:00