Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Guidestar Server Side/classes/WS_DelegatedSSOTest.cls
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ private class WS_DelegatedSSOTest{
static TestMethod void testPost(){
RestRequest req = new RestRequest();
RestResponse res = new RestResponse();
string uri = 'https://sha-gdnptech.cs88.force.com/services/apexrest/delegated-sso/';
string uri = 'REDACTED';

Test.startTest();
req.requestURI = uri;
Expand All @@ -14,7 +14,7 @@ private class WS_DelegatedSSOTest{
RestContext.response = res;

String body1 = '<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><Authenticate xmlns="urn:authentication.soap.sforce.com"><username>';
String body2 = '</username><password>CAAXgFG8A8zIQPEHxib0m5XWu84ZD</password><sourceIp>10.01.01.01</sourceIp></Authenticate></soapenv:Body></soapenv:Envelope>';
String body2 = '</username><password>REDACTED</password><sourceIp>REDACTED</sourceIp></Authenticate></soapenv:Body></soapenv:Envelope>';

RestContext.request.requestBody = Blob.valueof(body1 + '1234@facebook.com' + body2);
WS_DelegatedSSO.authenticate();
Expand All @@ -23,4 +23,4 @@ private class WS_DelegatedSSOTest{
}


}
}