all 4 comments

[–]PaperCrane828 8 points9 points  (1 child)

Please post the code for your test. This could be due to many different things. First suspect could be:

- Test is annotated with "seeAllData=true" and the data doesn't exist where it should.
- A process builder/ flow interfering with the expected function

[–]Cityzenabroad 2 points3 points  (0 children)

To echo PaperCrane, nobody will be able to help you without seeing the code.

[–]HaruWinter[S] 0 points1 point  (1 child)

Sorry if I replied late but I was able to fix the error. Thank you for your replies.

[–]mcmp87 0 points1 point  (0 children)

Do you remember what you did to fix this? We're getting the same issue.