Maurício Meneghini Fauth
83b1d6be45
Replace DatabaseInterface global var with a singleton object
...
Removes the DbiLoading middleware.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-08-18 14:08:10 -03:00
Maurício Meneghini Fauth
63e6410728
Refactor the DbTableExists class
...
- Changes static methods to instance methods
- Extract response handling to the controllers
- Add unit tests for the DbTableExists class
- Remove the AbstractController::hasDatabase() method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-08-06 01:42:06 -03:00
Maurício Meneghini Fauth
3f2c53ef1d
Replace PHPUnit annotations with attributes
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-06-07 11:44:01 -03:00
Maurício Meneghini Fauth
556594b4cd
Fix coding standard spacing issues
...
- Fixes one line doc comments
- Fixes parent call spacing
- Fixes constant spacing
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-02-24 21:06:17 -03:00
Maurício Meneghini Fauth
3c618c22a9
Add ServerRequest parameter to all controllers
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-07-28 01:00:08 -03:00
Maurício Meneghini Fauth
a9de979397
Inline dbi creation in some test classes
...
Creates a new instance of DatabaseInterface class for each test.
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-04-18 21:50:18 -03:00
Maurício Meneghini Fauth
0b37a84f79
Fix Table/DeleteConfirmControllerTest db name
...
Introduced by 49a39313c2 .
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-27 09:57:28 -03:00
Maurício Meneghini Fauth
49a39313c2
Add basic test for Table\DeleteConfirmController
...
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2022-02-26 08:52:42 -03:00