Timeline for If I create a user in a testmethod, I cannot select them with SOQL in the same testmethod. How can I work around this?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 14, 2016 at 13:35 | history | edited | mkorman |
Tagging for syntax highlighting
|
|
Nov 5, 2014 at 11:14 | vote | accept | Rob | ||
Nov 4, 2014 at 14:08 | comment | added | battery.cord | You can query based off of data that you insert in a test method. The data inserted during the method will be collected and removed at the end of the test. It would help if you posted your code to this as well. | |
Nov 4, 2014 at 14:00 | answer | added | geekymartian | timeline score: 3 | |
Nov 4, 2014 at 13:21 | history | asked | Rob | CC BY-SA 3.0 |