Open
Description
When you run Onion test you get, for example:
Undefined property: tests\Onion\Dependency\DependencyResolverTest::$logger
Because some tests use $logger as a static variable but it is not. So we have two approaches:
- Use mocked instances of logger;
- Creating an instance of logger to each test;
Metadata
Metadata
Assignees
Labels
No labels