Last active
February 3, 2018 16:41
-
-
Save snugsfbay/c48c399b8d5e32561e5fdc91a770eef5 to your computer and use it in GitHub Desktop.
Sample Account Data for use with Test.loadData()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Id | Name | Website | Phone | BillingStreet | BillingCity | BillingState | BillingPostalCode | BillingCountry | |
---|---|---|---|---|---|---|---|---|---|
1 | sForceTest1 | http://www.sforcetest1.com | (415) 901-7000 | The Landmark @ One Market | San Francisco | CA | 94105 | US | |
2 | sForceTest2 | http://www.sforcetest2.com | (415) 901-7000 | The Landmark @ One Market Suite 300 | San Francisco | CA | 94105 | US | |
3 | sForceTest3 | http://www.sforcetest3.com | (415) 901-7000 | 1 Market St | San Francisco | CA | 94105 | US |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Id | AccountId | Salutation | FirstName | LastName | |
---|---|---|---|---|---|
10 | 2 | Mr. | Tim | Barr | |
11 | 3 | Ms. | Babara | Levy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a sample CSV from Salesforce docs: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_load_data.htm
To use it with the AccountID field in Contact test data, just use the same integer value found in this file's ID field to relate any contact to that Account as in the sample Contact file.