minor: Remove unnecessary code that was generating warning in TestXInventoryDataPlugin