@@ -25,9 +25,9 @@ public void profileCreateShouldSucceed() throws Exception {
2525 String fixtureName = "profileCreateResponse.json" ;
2626
2727 expectResponse (fixtureName , 202 );
28- ProfileAddress address = new ProfileAddress ("1234 " , "New York " , "NY " , "12345 " , "US" );
29- ProfileAuthorizedContact authContact = new ProfileAuthorizedContact ("john " , "Deo " , "12345467987 " , "123j@plivo .com" , "MTR " , "admin " );
30- ProfileAddResponse response = Profile .creator ("java profile " , "DIRECT" , "PRIVATE " , "Plivo " , "12345678 " , "IN " , address , "ABC " , "NSE " , "google .com" , "ENERGY " , "" , "" , "" , authContact ).create ();
28+ ProfileAddress address = new ProfileAddress ("123 Main Street " , "San Francisco " , "CA " , "94105 " , "US" );
29+ ProfileAuthorizedContact authContact = new ProfileAuthorizedContact ("John " , "Doe " , "+14155551234 " , "test@example .com" , "CEO " , "C_LEVEL " );
30+ ProfileAddResponse response = Profile .creator ("Test Profile " , "DIRECT" , "PUBLIC " , "Test Company Inc " , "12-3456789 " , "US " , address , "TEST " , "NASDAQ " , "https://testcompany .com" , "TECHNOLOGY " , "" , "NONE " , "" , authContact , "employee@company.com" ).create ();
3131
3232 assertRequest ("POST" , "Profile/" );
3333 }
@@ -59,9 +59,9 @@ public void profileUpdateShouldSucceed() throws Exception {
5959 String fixtureName = "profileUpdateResponse.json" ;
6060
6161 expectResponse (fixtureName , 202 );
62- ProfileAddress address = new ProfileAddress ("12345 " , "New York " , "NJ " , "12345 " , "US" );
63- ProfileAuthorizedContact authContact = new ProfileAuthorizedContact ("john " , "Deo " , "12345467987 " , "123j@plivo .com" , "MTR1 " , "admin " );
64- Profile response = Profile .update ("8abd0935-fd17-4876-9b40-5855488ac5b5" ).entityType ("PRIVATE " ).address (address ).authorizedContact (authContact ).update ();
62+ ProfileAddress address = new ProfileAddress ("123 Main Street " , "San Francisco " , "CA " , "94105 " , "US" );
63+ ProfileAuthorizedContact authContact = new ProfileAuthorizedContact ("John " , "Doe " , "+14155551234 " , "test@example .com" , "CEO " , "C_LEVEL " );
64+ Profile response = Profile .update ("8abd0935-fd17-4876-9b40-5855488ac5b5" ).entityType ("PUBLIC " ).address (address ).authorizedContact (authContact ). businessContactEmail ( "employee@company.com" ).update ();
6565
6666 assertRequest ("POST" , "Profile/8abd0935-fd17-4876-9b40-5855488ac5b5/" );
6767 }
0 commit comments