mirror of
https://codeberg.org/PostERG/xamxam.git
synced 2026-06-25 08:09:18 +02: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:
@@ -63,7 +63,6 @@ class ThesisEditValidationTest extends TestCase
|
||||
private function collectJuryMembers(array $post): array
|
||||
{
|
||||
$ref = new ReflectionMethod(ThesisEditController::class, 'collectJuryMembers');
|
||||
$ref->setAccessible(true);
|
||||
return $ref->invoke($this->ctrl, $post);
|
||||
}
|
||||
|
||||
@@ -142,7 +141,6 @@ class ThesisEditValidationTest extends TestCase
|
||||
private function invokeHandleWebsiteUrl(int $thesisId, array $post): void
|
||||
{
|
||||
$ref = new ReflectionMethod(ThesisEditController::class, 'handleWebsiteUrl');
|
||||
$ref->setAccessible(true);
|
||||
$ref->invoke($this->ctrl, $thesisId, $post);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user