You need to sign in to do that
Don't have an account?
GC_00001
Deployment Unit Tests cause autonumber on case to increment
Having just been doing a number of unit tests whilst deploying various things, it would appear that the autonumber of cases has incrementd in line with the number of dummy cases that would have been temporarily inserted during the tests.
This means that we now have big gaps in the numbers in our production environment..
Can anyone please confirm whether this is what is probably happening and if so is there anyway to stop it?
Thanks,
This means that we now have big gaps in the numbers in our production environment..
Can anyone please confirm whether this is what is probably happening and if so is there anyway to stop it?
Thanks,
You can enable this option from Setup by clicking Develop > Apex Test Execution > Options..., selecting Independent Auto-Number Sequence, and clicking OK.
All Answers
You can enable this option from Setup by clicking Develop > Apex Test Execution > Options..., selecting Independent Auto-Number Sequence, and clicking OK.