function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi
I had a query in my class stated like this
User user = select conatctid form User where id=:userinfo.getUserId();
Account acc = Select mailingcity,mailingstate from account where personconatctID=:user.contactId();
For this I have to write a test class. I dont know how to create a dummy person account and assign it to User for testing
I have to test by creating a new person account and user to test the above Query how can i do this?
Need a help on this....
Thanks
Marris.
Marris, Hope this helps
Hi rahul sharma
I can create a person account by this link Please help me on how to create a user for test class with person account id/person contact id to test the methods in the class .
Marris
Marris, Hope this helps
Hi rahul sharma
I can create a person account by this link Please help me on how to create a user for test class with person account id/person contact id to test the methods in the class .
Thanks
Marris