Commit Graph

261 Commits

Author SHA1 Message Date
HDVinnie 5cf5a677c0 update: StoreSubtitleRequestTest 2023-08-26 20:51:10 -04:00
HDVinnie 11a759434d PHP Style Change (Laravel Pint CI) 2023-08-27 00:35:25 +00:00
HDVinnie d4e6248801 update: tests performance 2023-08-26 20:34:17 -04:00
HDVinnie 9bacac9025 fix: ForumCategoryControllerTest 2023-08-19 13:41:46 -04:00
HDVinnie 63fd8eab12 PHP Style Change (Laravel Pint CI) 2023-08-19 17:32:18 +00:00
HDVinnie 06c07d1215 update: ForumCategoryControllerTest 2023-08-19 13:31:18 -04:00
HDVinnie fafe059c8b PHP Style Change (Laravel Pint CI) 2023-08-19 16:59:41 +00:00
HDVinnie 26d23c58b9 fix: forum tests 2023-08-19 12:58:38 -04:00
HDVinnie dfe027fced fix: tests 2023-08-19 12:45:23 -04:00
HDVinnie 4504137fef PHP Style Change (Laravel Pint CI) 2023-08-19 16:17:44 +00:00
HDVinnie 05099ad854 update: ChatBotControllerTest 2023-08-19 12:16:42 -04:00
HDVinnie b2cccb10c1 update: ForumControllerTest 2023-08-19 11:44:32 -04:00
HDVinnie a77d0ae855 update: RegionControllerTest 2023-08-19 11:42:11 -04:00
HDVinnie 7c1c80c3b8 fix: FollowControllerTest 2023-08-16 16:16:27 -04:00
HDVinnie f2010af491 update: tests 2023-08-16 16:01:18 -04:00
HDVinnie b44ace6694 update: deps + fix tests 2023-08-15 23:59:32 -04:00
HDVinnie cdf7291839 Merge branch '7.x.x' into Test-Suite 2023-08-15 23:49:26 -04:00
HDVinnie 0854104639 update: more tests + sail docker-compose 2023-08-14 12:20:57 -04:00
Roardom 9c0c474a9a refactor: rename graveyard to resurrections
Make everything consistent with the "plural noun" style
2023-07-24 01:07:35 +00:00
Roardom d0272652dd fix: invite relations in route model binding 2023-07-19 08:25:28 +00:00
HDVinnie 836fd2777c PHP Style Change (Laravel Pint CI) 2023-07-17 22:32:06 +00:00
HDVinnie 6af8a72af6 update: test-suite
- Tests: 422 incomplete, 318 passed (684 assertions) and coverage Total: 22.7%.
2023-07-17 18:30:58 -04:00
HDVinnie 8daf39c331 update: test suite 2023-07-11 16:48:07 -04:00
HDVinnie e364fb6a5f PHP Style Change (Laravel Pint CI) 2023-07-11 18:28:32 +00:00
Shift a24ece46ac Generate tests for console commands 2023-07-11 18:27:20 +00:00
Shift c76a36dd29 Generate unit tests for form requests 2023-07-11 18:27:19 +00:00
Shift 39e8a86b88 Generate HTTP tests for controllers 2023-07-11 18:27:15 +00:00
Shift 00f1bd1b68 Include helpful testing packages
Shift added the following packages which may be used by generated tests cases and helpful for testing new code.

- [Test Assertions](https://github.com/jasonmccreary/laravel-test-assertions)
- [`generate:model-factory`](https://github.com/mpociot/laravel-test-factory-helper)
2023-07-11 18:26:41 +00:00
HDVinnie f0b0e8fc43 PHP Style Change (Laravel Pint CI) 2023-07-11 18:23:12 +00:00
HDVinnie 613c7c67c0 update: UserFactoryTest to pest 2023-07-11 14:22:10 -04:00
HDVinnie 527164bc1a remove: old tests 2023-07-11 13:53:51 -04:00
Shift 0f33d2846d Define test classes as final 2023-07-10 18:54:51 +00:00
Shift 812238b4b8 Adopt PHP attributes in test classes 2023-07-10 18:54:51 +00:00
HDVinnie 97d0f91644 PHP Style Change (Laravel Pint CI) 2023-07-10 18:48:25 +00:00
HDVinnie be725cf816 update: test suite
- update workflows
- update paratest
- update collision
- add pest
- update phpunit
- add pest plugins
- update phpunit.xml for phpunit 10
2023-07-10 14:47:21 -04:00
HDVinnie b41e44310c update: factories
- update existing factories
- add missing factories
2023-07-10 12:54:19 -04:00
Roardom 741adef615 add: moderation scopes 2023-07-10 04:20:40 +00:00
Roardom 998bfa0e16 refactor: use route model binding for pages 2023-07-07 03:18:13 +00:00
Roardom 144d27ab39 refactor: use route model binding in articles 2023-07-07 03:18:13 +00:00
Roardom 222d2dee59 refactor: cruddify playlists
Use cruddy routes and controllers. Use route model binding. Use mass assignment. Use form requests. Use pivot model.
2023-07-07 03:18:13 +00:00
Roardom f4cc89095f refactor: graveyard resurrections
Use route model binding. Move methods in controller available to all users to user-specific controller. Clean up controller code.
2023-07-07 03:18:13 +00:00
Roardom e0e0ba0dae update: refactor and fix polls
Fix validation. Use route model binding. Cruddify polls and votes.
2023-07-07 03:18:13 +00:00
Roardom 0000838d8b refactor: cruddy torrents
Separate torrents into cruddy route names. Route model binding isn't possible due to the global scope on unapproved torrents. Use form requests. Simplify the controller flow where possible.
2023-07-07 03:18:13 +00:00
Roardom 70e3505886 update: cruddy requests
Separate requests into cruddy routes. Use route model binding. Allow forfeit of award if request approval is revoked. Use form requests.
2023-07-07 03:18:13 +00:00
Roardom 7b312d219a refactor: use route model binding for staff users 2023-07-07 03:18:13 +00:00
Roardom 0a19cd4b07 refactor: use route model binding for staff types 2023-07-07 03:18:13 +00:00
Roardom 8ee9fa059c refactor: use route model binding for staff rss
Also fix rss store/update validation for allowing empty imdb/tmdb/tvdb/mal fields.
2023-07-07 03:18:13 +00:00
Roardom 276c7cdc97 refactor: use route model binding for staff reports 2023-07-07 03:18:13 +00:00
Roardom bcaaaa4209 refactor: use route model binding for staff seedboxes 2023-07-07 03:18:13 +00:00
Roardom 8c557481ed refactor: use route model binding for staff polls 2023-07-07 03:18:13 +00:00