As a best practice, tests should be isolated from the application database and create their own data. Access to the org data for unit tests, using the annotation @IsTest(seeAllData=true), should be avoided, as it makes test dependant on the environment on which they are executed.
Business Impact
Prolonged downtime, slower recovery from failures, and impaired business continuity.
Is your Salesforce solution affected by Test methods with full data access?
Clayton detects anti-patterns and offers automated fix advice to kickstart your Well-Architected journey.