I have a line of code in my test class:
List<sObject> newRecentlyViewed =
The csv I uploaded to the static resource included: Id, Type, Name
When running the test I get the error message: System.SObjectException: Required fields are missing: [OwnerType]
When I look at the RecentlyViewed object in the query editor there is no field "OwnerType".
The class is finding recently viewed Knowledge Articles. But I am having a hard time figuring out how to test for recently viewed Knowledge Articles by inserting test data and querying for that.