Upgrade tests to PhpUnit 10 (#5252)

This commit is contained in:
Kevin Papst
2024-12-22 01:25:30 +01:00
committed by GitHub
parent 9bd37fb695
commit c7f0508707
377 changed files with 3308 additions and 3409 deletions

View File

@@ -17,7 +17,7 @@ use App\Event\ActivityDetailControllerEvent;
* @covers \App\Event\AbstractActivityEvent
* @covers \App\Event\ActivityDetailControllerEvent
*/
class ActivityDetailControllerEventTest extends AbstractActivityEventTest
class ActivityDetailControllerEventTest extends AbstractActivityEventTestCase
{
protected function createActivityEvent(Activity $activity): AbstractActivityEvent
{
@@ -29,6 +29,6 @@ class ActivityDetailControllerEventTest extends AbstractActivityEventTest
/** @var ActivityDetailControllerEvent $event */
$event = $this->createActivityEvent(new Activity());
$event->addController('Foo\\Bar::helloWorld');
$this->assertEquals(['Foo\\Bar::helloWorld'], $event->getController());
self::assertEquals(['Foo\\Bar::helloWorld'], $event->getController());
}
}