You need to sign in to do that
Don't have an account?
rachel watson
Trailhead - Developer Beginner -> Apex Testing Testing-> Apex Triggers
I copied and pasted a pre-made trigger from the challenge so I could write the test class, but the trigger will not save:
The error is: unexpected token: 'trigger'
This is a screenshot of the challenge:
I clicked on the link to the challenge and it took me to GitHub where I copied/pasted the trigger into my Dev. org. I cannot continue with this challenge until this saves. What is wrong?
The error is: unexpected token: 'trigger'
This is a screenshot of the challenge:
I clicked on the link to the challenge and it took me to GitHub where I copied/pasted the trigger into my Dev. org. I cannot continue with this challenge until this saves. What is wrong?
You are trying to create trigger in a Apex Class. You should go File->New->Apex Trigger instead in developer console.
Hi Rachel Watson,
Please check if you have created a trigger from below path.
Thanks and Regards
Sandhya