28 Commits

Author SHA1 Message Date
Roardom
b86475a732 add: strict types to all files 2024-05-23 13:58:29 +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
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
3450577c00 refactor: use route model binding for staff categories 2023-07-07 00:28:47 +00:00
HDVinnie
472c820f99 update: UNIT3D linting
- github action updated with new ruleset in pint.json
- codebase linted with new ruleset
- contributors can now run `./vendor/bin/pint`
- action workflow will auto correct any lint issues upon commit/opened pull request
2023-02-02 08:02:34 -05:00
Roardom
8138c67719 fix: category store test 2023-01-08 14:58:51 -06: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
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
Ben Johnson
5b9213d804 tests: Style fix 2020-02-23 12:19:18 -05:00
Ben Johnson
c345755219 tests: Set group properties explicitly within test
As in previous commit.
2020-02-23 12:16:22 -05:00
HDVinnie
43b3c133be tests: add setUp function 2020-02-22 23:53:04 -05:00
HDVinnie
da5229b9cb chore: styleci 2020-02-22 23:32:16 -05:00
HDVinnie
d5c5835e42 tests: staff controllers 2020-02-22 23:26:54 -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