I'm getting DML errors when trying to test some triggers:
This error occurred: MIXED_DML_OPERATION: DML operation on setup object is not permitted after you have updated a non-setup object (or vice versa).
I'm running my test case on a dev sandbox, and am inserting users before I insert a custom object. From my understanding, this is what is causing these MIXED_DML_OPERATION errors, as I'm updating configuration and standard objects in the same transaction.
That being said, is a single APEX test considered a transaction? Other than making changes to my code to account for testing, is there a way around inserting users in a test other than having seeAllData=true?