mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-11-09 11:10:08 +01:00
Add code coverage configuration (phpunit.xml source filter), baseline coverage report (21.27% lines), gitignore coverage/ and .phpunit.result.cache; remove deprecated setAccessible() calls
This commit is contained in:
1 parent
a047062d87
commit
a6e0aa5887
9 files changed
+17
-14
No files matched your search
@@ -26,7 +26,6 @@ class ThesisCreateValidationTest extends TestCase
|
||||
private function validate(array $post, bool $adminMode = false): array
|
||||
{
|
||||
$ref = new ReflectionMethod(ThesisCreateController::class, 'validateAndSanitise');
|
||||
$ref->setAccessible(true);
|
||||
|
||||
$db = TestDatabase::getInstance();
|
||||
$ctrl = new ThesisCreateController($db);
|
||||
|
||||
Reference in new issue
Block a user