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
Richie DRichie D 

Failing Apex code

Hi,

 

Today we have code that used to work which now doesn't.

 

For example test.startTest(); is now requiring the system namespace to be added to allow compilation and saving in UI and Eclipse. Code now becomes system.test.startTest();

This is the case for all test.* method calls.

 

Is this a temporary glich? A salesforce updgrade issue?? Any ideas? Using CS7...

 

Don't want to have to go and change all test methods to fix this if something else is going on.

 

Thanks,

Rich.

 

MandyKoolMandyKool

Hi Richie,

 

Could you please post your Test Method and Test Class?

 

Thanks,

Mandar.