Timeline for Test class: Assertion Failed
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 9, 2015 at 0:41 | answer | added | Terry Downing | timeline score: 0 | |
Apr 30, 2014 at 15:11 | answer | added | Torsen | timeline score: 1 | |
Mar 31, 2014 at 13:27 | comment | added | LoveLace | Normaly, the test class is used for covering the triggers, so no inserted records | |
Mar 31, 2014 at 10:33 | answer | added | userRg | timeline score: -4 | |
Mar 31, 2014 at 10:12 | comment | added | userRg | you can look at the answer for date type field.Hope it would help you! | |
Mar 31, 2014 at 10:00 | comment | added | LoveLace | Start_date__c Invalid :O but how can I do it in another way, i'v tried this too to.Start_date__c='12/05/2014' no result as well | |
Mar 31, 2014 at 9:49 | comment | added | LoveLace | Same error even when I desactivated the triggers || Method Name myTimeOffTest || Error Message System.AssertException: Assertion Failed || Stack Trace Class.TestTimeOff.myTimeOffTest: line 17, column 1 | |
Mar 31, 2014 at 9:46 | answer | added | userRg | timeline score: 0 | |
Mar 31, 2014 at 9:46 | comment | added | Keith C | Change your assert to "System.assert(e.getMessage().contains('Insertion failed'), 'message=' + e.getMessage());" then in the test failure information you will see the actual message. | |
Mar 31, 2014 at 9:43 | history | edited | Keith C | CC BY-SA 3.0 |
added 92 characters in body
|
Mar 31, 2014 at 9:39 | comment | added | userRg | what assertion exception you are getting? And what these trigger do for time Off Object.You may inactive your trigger and then check weather the exception occurred because of Triggers . | |
Mar 31, 2014 at 9:27 | history | asked | LoveLace | CC BY-SA 3.0 |