• Deacon Nelson
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 4
    Replies
I'm a very gambling person. But at the same time, I am profitable, which probably saves me from losing. If I see that the slot machine does not want to play today, I just go to another. Right now, I stuck on the https://betsofa-official.com. A couple of times have already managed to withdraw a decent amount.
When validating the challenge, the following error appears:
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: GAZOYUAJ
I am using a new exclusive DE for this practice. What could the error be due to?
Newbie to coding here and I'm trying to make a test class. Here's the code I've currently got:
@IsTest
public class tempTestPBchanges {
    
    /* Test class for making sure Assignment PB replacements are the same as the three PBs that existed before.
* Temporary, for use only in Dev sandbox, not to be deployed. If you want to save the code, copy it into a text file.
*/
    
    public static string createTestApprenticeship() {
        //------ Set up Test Data
        
        //Create a School District (may not be necessary, as school district is only required in the UI?)
        
        //Create a School
        Account testSchoolAccount = new Account(Name = 'Test school');
        insert testSchoolAccount;
        
        //Create a Company
        Account testCompanyAccount = new Account (Name='Test Company');
        insert testCompanyAccount;
        
        //Create a Mentor
        Contact testMentorContact = new Contact (
            npsp__Primary_Affiliation__c = testCompanyAccount.Id,
            FirstName = 'Test', 
            LastName = 'MentorOne',
            Creativity__c = 2,
            Communication__c = 2,
            Following_directions__c = 0,
            Helping_Others__c = 0,
            Influencing_others__c = 0,
            Operating_Machines__c = 0,
            Planning__c = 0,
            Reading_and_Writing__c = 0,
            Research_and_Logic__c = 0,
            Singing_and_acting__c = 0,
            Solving_problems__c = 0,
            Understanding_Shapes__c = 0,
            Working_with_others__c = 0,
            Attention_to_detail__c = 0,
            Career_Area_Industry__c = 'Entertainment'
        );
        insert testMentorContact;
        
        //Create a Catalog Entry
        Catalog_Entry__c testCatalogEntry1 = new Catalog_Entry__c(
            Name = 'Test MentorOne Catalog Entry', 
            Account__c = testCompanyAccount.Id,
            Primary_Mentor_Lookup__c = testMentorContact.Id
        );
        insert testCatalogEntry1;
        
        //Create a Student at the school
        Contact testStudentContact = new Contact (
            FirstName='Test', 
            LastName='Student', 
            npsp__Primary_Affiliation__c=testSchoolAccount.Id);
        insert testStudentContact;
        
        //Create a Program at the school
        yat__Program__c testProgram = new yat__Program__c(
            Name = 'Test Program SY19', 
            yat__Program_Year__c='SY19'
        );
        insert testProgram;
        
        //Create a Mentorship
        Apprenticeship__c testMentorship = new Apprenticeship__c(
            Name = 'Test Student Mentorship',
            Program__c = testProgram.Id,
            School__c = testSchoolAccount.Id,
            Student_Name__c = testStudentContact.Id,
            StageName__c = 'Student Requested',
            Creativity__c = 2,
            Communication__c = 2,
            Following_directions__c = 2,
            Helping_Others_New__c = 2,
            Influencing_others__c = 2,
            Operating_Machines__c = 2,
            Planning__c = 2,
            Reading_and_Writing__c = 2,
            Research_and_Logic__c = 2,
            Singing_and_acting__c = 2,
            Solving_problems__c = 2,
            Understanding_Shapes__c = 2,
            Working_with_others__c = 2,
            Attention_to_detail__c = 2,
            Innovative__c = 2,
            Creative__c = 2,
            Building__c = 2,
            Organization__c = 2,
            Scientific__c = 2,
            Social__c = 2
        );
        insert testMentorship;
        
        //------ Here ends the basic data creation
        
        //------ Testing the PBs
        //Create an Assignment
        Assignment_New__c testAssign = new Assignment_New__c (
            Name = 'testAssign',
            Catalogue_Entry__c = testCatalogEntry1.Id,
            Apprenticeship_Name__c = testMentorship.Id,
            Status__c = 'Possible Match'
        );
        insert testAssign;
        
    //Got to have a return for this method. Right now it's the assignment status. 
    //But it probably should be the Id so you can work with it later. But I can't make the system asserts work if it's an Id.        
        return testAssign.Status__c;
    }
    
    //Test 1: Assert that Assignment is not updated by the IsNew portions of the PB because it was not in the Matched Stage
    @isTest
    public static void testInsertAssignment() {
        String testAssignStatus = createTestApprenticeship();
        System.assertequals('Possible Match', testAssignStatus);
    }
Right now createTestApprenticeship() returns a string, the Status__c field of the inserted Assignment. But I would prefer to have it return an Id. Then in the test method I think I should be able to get the Status__c of that inserted Assignment by just using testAssignStatus.Status__c
But when I switch the return of the createTestApprenticeship() method to be Id, change the last line of that method to be 
return testAssign.Id;

and then change the system.assert to be
System.assertequals('Possible Match', testAssignStatus);
it won't compile. I get the error on that last line, in fact.

What am I missing, please?
Job Description:
The University of Maryland, College Park (UMD) is seeking a Salesforce developer on a
contingent contractual hourly basis for an initial six-month basis with renewal options. This
position is assisting with the full development life-cycle from technical design to development,
testing, and deployment. The Salesforce Developer will be expected to work with the UMD
Salesforce project team and UMD clients to gather requirements and configure the Salesforce
application based on business needs with robust documentation. The best candidates will be a
highly technical professional experienced in web application development. Candidates should
have extensive development experience with the Salesforce platform. He/she will be comfortable
communicating and presenting to technical and non-technical audiences.
Salary commensurate with experience.

Essential Duties Summary:
● Build custom applications on the Force.com platform
● Leverage the Salesforce provided Application Programming Interface
● Understand business requirements and create functional prototypes to address the
business needs
● Follow established Salesforce development standards and best practices
● Create, manage, and document complex workflow rules, data validation, and system
triggers
● Maintain existing applications with an eye to continuous automation and improvement
● Assist in troubleshooting difficult technical issues as needed
● Participate in project team meetings and communicate effectively with business and
technical team members and stakeholders, including across team and organizational
boundaries – 10%
● Reporting project status as required – 5%
● Other duties as assigned – 5%

Minimum Qualifications:
● Bachelor’s degree
● Active Salesforce.com Developer Certification/s (Developer, Advanced Developer,
Admin)
● 3+ years of software development experience, ideally in a consulting environment
● 2+ years of experience developing on the Force.com platform
● Proficiency in programming using Salesforce SFDC, Force.com, Java, JavaScript, and
XML and their use in the development of CRM solutions
● Strong experience with configuration, customization, programming with APEX APIs,
APEX Triggers, and implementing new instances of SalesForce.com from scratch
● Ability to gather and translate business requirements into well-architected solutions that
best leverage the Salesforce.com platform
● Strong technical design skills and an ability to deliver customer driven solutions
● Deliver results on time and produce high quality deliverables
● Proficient on programming best practices, design patterns and design trade-offs on
internet and cloud based platform
● Candidates must be eligible to work in the United States without limitation

 Preferences: 
● Master Degree in an IT-related discipline
● Experience working in higher education
● Project management experience
● Previous custom development experience in implementing other technologies

Interested candidates should please submit a cover letter, resume, and a list of three
references to umdsalesforce@gmail.com no later than April 20, 2017.