Details
Description
By calling DocumentSourceMock::create() from the update pipeline executor, an ExpressionContextForTest is created, which creates a full service context. This code should use a different constructor for DocumentSourceMock.
By calling DocumentSourceMock::create() from the update pipeline executor, an ExpressionContextForTest is created, which creates a full service context. This code should use a different constructor for DocumentSourceMock.