function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
angela mullen-smith 18angela mullen-smith 18 

error with test class - not recogising my object

I have created a test class - my 1st and I am getting an error that I do not understand
Facility is the name of the Object, and I am simply trying to create a new record in this object

User-added image
angela mullen-smith 18angela mullen-smith 18
Hi
I was just being stupid ....ie watching a youtube and copying the example except I forgot that a custom object needs the extension it

here is my corret test script for any one who needs it
User-added image