Pierre Goiffon
ec143c43db
N°3091 Update PHPUnit to 8.5 : fix setUp and teardDown methods signatures
...
"Return type declaration must be compatible with parent"
See https://phpunit.de/announcements/phpunit-8.html "Return Type of Template Methods"
2022-04-21 12:02:35 +02:00
Pierre Goiffon
693a861e7d
♻️ Refactor DBBackuptest
...
Split each test in a dedicated method
2022-01-12 09:42:57 +01:00
Pierre Goiffon
0ee6c60e94
✅ Fix DBBackupTest (again :/)
...
Was working on Windows but not on Linux...
2022-01-12 09:12:04 +01:00
Pierre Goiffon
a663e9fded
✅ Fix DBBackupTest
...
DB connection dependency was added in a222ead4 (N°2336) in \DBBackup::GetMysqlCliTlsOptions but test wasn't updated accordingly :/^
The test wasn't ran on Jenkins until b11bf308 , so we saw the regression only yesterday :(
This is now fixed ! 🥳
2022-01-12 09:00:26 +01:00
Molkobain
64736f1463
Fix unit test provider
2022-01-11 15:48:45 +01:00
Pierre Goiffon
ddb8378fe6
N°4624 align phpunit annotations
...
Remove processIsolation when not needed
When needed, make sure to have also their counterpart (preserveGlobalState and backupGlobals)
2022-01-07 15:20:34 +01:00
Molkobain
5836be7131
Fix unit test
2021-02-24 09:49:16 +01:00
Molkobain
9d2fc883b8
Fix test name
2021-02-17 10:31:59 +01:00
odain
913ea0cef2
N°3412 - Command Injection vulnerability in the Setup Wizard - renaming
2021-02-17 10:22:21 +01:00
odain
bb877a244b
N°3412 - Command Injection vulnerability in the Setup Wizard - do not use escapeshellcmd before execution in Windows envt
2021-02-17 10:09:39 +01:00
odain
a12959d60e
N°3412 - Command Injection vulnerability in the Setup Wizard - handle empty path
2021-02-17 07:50:18 +01:00
odain
e9cff0920b
N°3412 - Command Injection vulnerability in the Setup Wizard - fix test and code
2021-02-16 17:12:41 +01:00
Pierre Goiffon
fd3b33b04b
N°2586 Test for iTopDesignFormat
2019-11-14 18:07:17 +01:00
Eric
fbc5280add
💚 Fix unit tests
2019-10-17 09:23:32 +02:00
Pierre Goiffon
f07bbfa174
N°1260 MySQL TLS connection : change parameters to only enable checkbox + CA (remove client key, client cert, cappath, cipher)
...
SVN:trunk[5682]
2018-04-18 06:57:38 +00:00
Pierre Goiffon
47653eeba7
N°1260 PHPUnit for the Mysql CLI TLS options generation
...
SVN:trunk[5379]
2018-02-28 16:47:00 +00:00