30 Commits

Author SHA1 Message Date
Roardom
a84c6de560 refactor: use laravel 7 seeder naming conventions
In laravel 7 and onward, seeder naming convention was changed to be singular and without `Table`.
2025-06-13 18:05:32 +00:00
Roardom
2a4d822a7c remove: unused bot columns 2024-06-09 05:32:05 +00:00
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +00:00
Roardom
d32ae88e86 remove: casino/trivia/bet bots
These bots don't currently do anything. Exception: the casino bot accepts donations through a nerdbot command but doesn't currently do anything else with it. If any trivia/casino/bet features need to be brought back, it would be easy enough to view the old code through the git history, but there's probably a bunch that can be improved with its interface as well.
2024-04-30 07:41:27 +00:00
HDVinnie
aa3dc8ed18 refactor: enums 2024-01-04 03:26:10 -05:00
HDVinnie
834f7f4d7a update: UserGroups ENUM 2023-10-31 06:47:08 -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
8daf39c331 update: test suite 2023-07-11 16:48:07 -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
Roardom
b4fd0afc26 refactor: use route model binding for staff bots 2023-07-07 03:18:13 +00:00
Roardom
54220dcfc8 remove: slugs 2023-01-06 16:05:53 -06:00
HDVinnie
2ca429c4ce Revert "PSR12 Linting"
This reverts commit 7e65e1d589.
2022-09-11 19:51:58 -04:00
HDVinnie
7e65e1d589 PSR12 Linting 2022-09-11 23:50:41 +00:00
HDVinnie
97394c062f chore: adopt type hints 2022-01-07 23:35:33 -05:00
HDVinnie
bd277b1e34 fix: tests 2021-10-20 14:37:03 -04:00
HDVinnie
d75bbdc665 Apply fixes from StyleCI
[ci skip] [skip ci]
2021-07-13 00:36:19 +00:00
HDVinnie
b5c27ce8cd refactor: convert simple closures to arrow functions 2021-07-12 20:35:41 -04:00
Laravel Shift
fac1da0b42 Shift cleanup 2020-09-08 22:25:06 +00:00
Laravel Shift
089632a4ac Namespace seeders 2020-09-08 22:24:37 +00:00
Laravel Shift
add31768f5 Shift to class based factories 2020-09-08 22:24:30 +00:00
PHP Shift
d8b188772f Shift return type of base TestCase methods
From the [PHPUnit 8 release notes][1], the `TestCase` methods below now declare a `void` return type:

- `setUpBeforeClass()`
- `setUp()`
- `assertPreConditions()`
- `assertPostConditions()`
- `tearDown()`
- `tearDownAfterClass()`
- `onNotSuccessfulTest()`

[1]: https://phpunit.de/announcements/phpunit-8.html
2020-05-26 00:59:55 +00:00
HDVinnie
05cc5a6cc6 tests: fix build 2020-02-24 13:57:29 -05:00
HDVinnie
b0cfe365c6 tests: staff controllers 2020-02-24 12:23:46 -05:00
HDVinnie
54e74762d5 tests: chat bot controller 2020-02-23 16:31:26 -05:00
Ben Johnson
65d602f058 tests: Move scaffolded tests into Todo directory
Currently, the test suite requires way longer than necessary because it runs all the scaffolded tests, even though they exit immediately.

Moving them until they are implemented will speed-up the test suite execution time dramatically.
2020-02-17 15:56:39 -05:00
HDVinnie
987bed7a7b Apply fixes from StyleCI
[ci skip] [skip ci]
2020-02-13 21:45:47 +00:00
Laravel Shift
daa7cad1b4 Generate HTTP tests for controllers 2020-01-22 17:19:02 +00:00