-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ public class C501_TESTClassReg_Login { | |
insert testFamily; | ||
|
||
insert new TwilioConfig__c(Name = 'default', AuthToken__c = 'xxx', Default_Send_Number__c = '206222222', AccountSid__c = 'xxx'); | ||
insert new RegistrationSiteSettings__c(Name = 'default', Default_From_Email__c = '[email protected]'); | ||
|
||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,6 +53,7 @@ public class C501_TEST_ClassReg_CreateAcct { | |
|
||
@isTest static void testValidationFail(){ | ||
insert new TwilioConfig__c(Name = 'default', AuthToken__c = 'xxx', Default_Send_Number__c = '206222222', AccountSid__c = 'xxx'); | ||
insert new RegistrationSiteSettings__c(Name = 'default', Default_From_Email__c = '[email protected]'); | ||
|
||
Class_Site_Login_Attempt__c att = createLoggedInTestUser(); | ||
|
||
|
@@ -112,6 +113,7 @@ public class C501_TEST_ClassReg_CreateAcct { | |
|
||
@isTest static void testSuccessfulInsert(){ | ||
insert new TwilioConfig__c(Name = 'default', AuthToken__c = 'xxx', Default_Send_Number__c = '206222222', AccountSid__c = 'xxx'); | ||
insert new RegistrationSiteSettings__c(Name = 'default', Default_From_Email__c = '[email protected]'); | ||
|
||
Class_Site_Login_Attempt__c att = createLoggedInTestUser(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters