Chatter Unfollow Test Class Failures

October 29, 2013

Recently, we noticed all test failures in one of our test classes. The test class was written in 19.0. The problem being SOQL's were not returning records and all the assertions were failing. 

Assertion Failed: Expected: 2, Actual: 0

The fix turned out to be very simple. We fixed the error by updating the APEX class version to 29.0

You Might Also Like

0 comments

Popular Posts

Twitter