Skip to content

5.0.1 - Publish testing instance of ConsumerBackend to ObjectManager

Latest

Choose a tag to compare

@stephanschuler stephanschuler released this 16 Jan 08:55
239b25b

The ConsumerBackend is a singleton. Creating a new instance while testing
only works if no included relations are involved. Otherwise, the relation
gets fetched by another instance with no shared resource cache. Obviously,
the correct way is to make the testing object known to the object manager.