You need to sign in to do that
Don't have an account?
Coral Racing
Apex Class Error (Error: Compile Error: line 12:76 no viable alternative at character '‘' at line 12 column 76)?
Hello
I have written a trigger but I am now trying to unit test it. However I am getting the following error message with my apex class. Can anyone see what I have done wrong?
Thanks
Sonya
I have written a trigger but I am now trying to unit test it. However I am getting the following error message with my apex class. Can anyone see what I have done wrong?
Thanks
Sonya
All Answers
Declare one variable and assign your required email to this variable and change query like this,
public string emailvar='sonya.dhand@abc123.co.uk';
List<User> citrixuser=[select id,Name from User where email=:emailvar];
Try this...and if this helps, mark this as this as 'Best Answer'.
Thanks for the heads up!!!
Sonya