calendar/Tests/Fixtures/calendar_example/Configuration/Services.yaml
Daniel Siepmann 77dd56ad43
Add functional tests (#7)
This replaces the existing unit tests for the controller.
Functional tests are way better suited for testing the controller.
2023-01-04 07:12:17 +00:00

17 lines
477 B
YAML

services:
_defaults:
autowire: true
autoconfigure: true
public: false
WerkraumMedia\CalendarExample\:
resource: '../Classes/*'
WerkraumMedia\Calendar\Domain\Model\ForeignDataFactory:
class: 'WerkraumMedia\CalendarExample\Domain\ExampleDataFactory'
public: true
WerkraumMedia\CalendarExample\EventListener\AssignTemplateVariables:
tags:
- name: 'event.listener'
event: 'WerkraumMedia\Calendar\Events\AssignTemplateVariables'