I've written apex code that customizes the folder structure on box and of course, in order to deploy it I need to write test methods. Writing standard methods I receive the errors that no root folder is set up so I mocked up data and put the custom settings for the root folder in my test method. However I still get the "Most recent error: Unable to create folder for Salesforce record because the root folder was not found/created." Can someone please help to point into the right direction? Is there maybe a mock version of the toolkit that I should be using in the tests? What is the standard approach here? I have not found any docs.
Any help is very much appreciated!
(For more details, please have a look here)
Please sign in to leave a comment.