• timdionne
  • NEWBIE
  • 25 Points
  • Member since 2013

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

I've run into problems where SOQL queries are not returning data when I'm running a test. I can copy the query string into either the Developer Console or using the Force.com IDE and the query returns the data. I see in documentation where the sample code for testing has a query in it so I think it should work. Do I need to elevate the user for the test or something? Or is this normal?

I've run into problems where SOQL queries are not returning data when I'm running a test. I can copy the query string into either the Developer Console or using the Force.com IDE and the query returns the data. I see in documentation where the sample code for testing has a query in it so I think it should work. Do I need to elevate the user for the test or something? Or is this normal?