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
rahul soni 20rahul soni 20 

need help with apex super budge challange 6

// here i am counting error :: Invalid type: WarehouseSyncSchedule

@isTest
public class WarehouseSyncScheduleTest{
    @isTest
    static void testWarehouseSyncSchd(){
        String sch = '0 0 0 * * ? 2020';
        Test.startTest();
            // Set mock callout class
            Test.setMock(HttpCalloutMock.class, new WarehouseCalloutServiceMock());
            String jobId = System.schedule('ScheduledWarehouseTest', sch, new WarehouseSyncSchedule());
            
            CronTrigger ct = [SELECT Id, CronExpression, TimesTriggered, NextFireTime FROM CronTrigger WHERE Id = :jobId];
            
            System.assertEquals(sch, ct.CronExpression);
        Test.stopTest();
    }
}
SwethaSwetha (Salesforce Developers) 
HI Rahul,
 
We have a separate Trailhead team who can help you with these issues. So, can you please use the below link to reach out to them so that one of the Engineers will get in touch with you.
Support: https://trailhead.salesforce.com/en/help?support=home
 
Please mark this answer as best if it helps so that others facing same issue will find it useful.
 
Thanks
rahul soni 20rahul soni 20

Hello Swetha,

Is this issue from salesforce side? 
 

SwethaSwetha (Salesforce Developers) 
HI Rahul, This is not a salesforce bug. The below link might be helpful to you
https://github.com/Konstryktor/Superbadge-Apex-Specialist

Thanks
rahul soni 20rahul soni 20

Hello Swetha,

Thanks for the link but that doesn't work for me. I am unable to go through this challange.