Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update API docs for Module test case base class. | Harald Eilertsen | 2024-06-16 | 1 | -6/+98 |
| | |||||
* | tests: Add helper expectRedirectTo to module test class. | Harald Eilertsen | 2024-06-16 | 1 | -0/+6 |
| | | | | | Just a shorthand for manually stubbing `goaway` and setting the expectations on the test case. | ||||
* | Fix warnings exposed by tests. | Harald Eilertsen | 2024-06-13 | 1 | -4/+7 |
| | | | | Mainly missing variables for templates, and channel entries. | ||||
* | tests: More tests for Module\Rpost. | Harald Eilertsen | 2024-06-13 | 1 | -14/+44 |
| | | | | Also refactor the tests a bit to avoid duplicatng code. | ||||
* | tests: Module\Rpost shows login form if not authenticated. | Harald Eilertsen | 2024-06-13 | 1 | -0/+13 |
| | |||||
* | tests: Add comment to Tests\Unit\Module\RpostTest. | Harald Eilertsen | 2024-06-13 | 1 | -0/+4 |
| | |||||
* | tests: Set query string in Module\TestCase::get method. | Harald Eilertsen | 2024-06-13 | 1 | -0/+1 |
| | |||||
* | Module\Rpost: Add basic test and fix session access. | Harald Eilertsen | 2024-06-13 | 1 | -0/+31 |
| | | | | | | | | | | | | | Just a basic test to ensure that the module `get()` method behaves somewhat reasonable when no query params are given. Had to make a small change to the Rpost module itself. Since the `$_SESSION` superglobal may not always be set (and is not in the test), use `isset` instead of `array_key_exists` to check if we have saved query params in the session. In general, isset is safer than array_key_exists if there's a chance that the array itself may not exist. | ||||
* | Upgrade test framework to PHPUnit 10.5 | Harald Eilertsen | 2024-05-27 | 3 | -2/+5 |
| | |||||
* | Refactor and cleanup Rbmark module + add tests | Harald Eilertsen | 2024-05-15 | 3 | -10/+99 |
| | |||||
* | Rework Help module + begin tests for Setup module | Harald Eilertsen | 2024-04-30 | 3 | -0/+336 |