I have a
SandboxPostCopy class where I am updating some User fields (example: changing the email to remove the '.invalid' and setting Profiles) where the Users to be updated are controlled by Custom Metadata.
When I was creating the test class, I was worried that it would actually update the Users since they were controlled by the metadata which would actually be visible to the test. However, to my surprise, the test passed fine and it didn't actually update the User fields in the sandbox.
That made me wonder, does
Test.testSandboxPostCopyScript avoid actually running DML such as