Why does the behavior differ between the sandbox environment and the production environment?


Why does the behavior differ between the sandbox environment and the production environment?

If the behavior is different, I don't think the test makes sense.

Please tell me the reason.