@isTest private class RecruiterAppReviewTest {
@isTest
private class RecruiterAppReviewTest {
static testMethod void myUnitTest() {
// Create Student
Contact c1 = new Contact(
FirstName = 'Test',
LastName = 'TestStudent');
insert c1;
//Id contact_id = [Select c.Id from Contact c where c.LastName = 'TestStudent' limit 1];
// Create Application
Application__c a1 = new Application__c(
Student__c = [Select c.Id from Contact c where c.LastName = 'TestStudent' limit 1],
Student_Type__c = 'First Time UG',
Full_or_Part_Time__c = 'Full-Time',
Active_Application__c = true,
Application_Status__c = 'Incomplete-Items Missing');
insert a1;
// Test Task
test.startTest();
a1.Application_Status__c = 'Complete and Ready for Review';
update a1;
test.stopTest();
}
}
}