| | |
| | | PIHelper.saveTransLog('module','vadsjngrqvjca','avgwshDFcxAS', 'DSAGSFBQdfdsoav','test','0','testmsg'); |
| | | Test.stopTest(); |
| | | } |
| | | /*static testMethod void confirmTrans() { |
| | | static testMethod void confirmTrans() { |
| | | Test.setMock(HttpCalloutMock.class, new TestDataUtility.CreatePIHelperHttpMock()); |
| | | Test.startTest(); |
| | | List<PIHelper.idList> idList = new List<PIHelper.idList>(); |
| | |
| | | idList.add(pid); |
| | | PIHelper.confirmTrans('module',1,'vadsjngrqvjca' ,'avgwshDFcxAS' ,'DSAGSFBQdfdsoav','https://sfpi-mebg-test.olympuschina.com/api/contact/insert',idList); |
| | | Test.stopTest(); |
| | | }*/ |
| | | /*static testMethod void confirmFileTrans() { |
| | | } |
| | | static testMethod void confirmFileTrans() { |
| | | Test.setMock(HttpCalloutMock.class, new TestDataUtility.CreatePIHelperHttpMock()); |
| | | Test.startTest(); |
| | | PIHelper.confirmFileTrans('module',1,'vadsjngrqvjca' ,'avgwshDFcxAS','DSAGSFBQdfdsoav','https://sfpi-mebg-test.olympuschina.com/api/contact/insert'); |
| | | Test.stopTest(); |
| | | }*/ |
| | | /*static testMethod void insertConfirmTrans() { |
| | | } |
| | | static testMethod void insertConfirmTrans() { |
| | | Test.setMock(HttpCalloutMock.class, new TestDataUtility.CreatePIHelperHttpMock()); |
| | | Test.startTest(); |
| | | List<PIHelper.idList> idList = new List<PIHelper.idList>(); |
| | |
| | | idList.add(pid); |
| | | PIHelper.insertConfirmTrans('module',1,'vadsjngrqvjca' ,'avgwshDFcxAS' ,0,'https://sfpi-mebg-test.olympuschina.com/api/contact/insert',idList); |
| | | Test.stopTest(); |
| | | }*/ |
| | | } |
| | | |
| | | } |