You need to sign in to do that
Don't have an account?

Error message not able to understand
Hi Friends. while deploying something to the production from eclipse.I got below given error and I am not sure what is the problem and what gonna be the solution. This code has been written by somebody who was working for this this company prior to me so I am looking for help from you guys.
It could well be becasue of the test class which is written at the end of the code.That is where I see https://URL
Error.System.AssertException:Assertion failed:Expected :https://na1.salesforce.com/,Actual:https://na1.salesforce.com/.
Can somebody please help,It is urgently needed.
Thanks, Trick
public with sharing class CMSForceSetupController { |
Anup
Thanks Anup,
I understand that actual and expected values should be same. It is showing expected as well as actual result to the be the same URL.However,it gives an error.
I don't know what should be done.Do u have any idea?.This is happening in production .When I run same test in sandbox I am not gettting any error.
Thanks,
Trick
The probem is with the test code ,as error is on the line 102 which is the last line in the test code.If somebody can help
This is after running the test class in the production:-
Could it because expected has backslash added to it which is missing in the actual and becaus of that it is giving an error?.
Actual:- https://na1.salesforce.com
Expected:-https://na1.salesforce.com/
Thanks
Trick ,
Your first example shows the trailing backslash as being there.
If it is indeed missing, then yes, that would be the cause