Skip to content

Commit

Permalink
Rename files from HTML (these are just for unit tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheworres committed Feb 8, 2024
1 parent 688dc46 commit 31572c4
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace CompareHare.Domain.Features.OfferLoaders
public class PAPowerOfferLoader : IOfferLoader
{// TODO: Rewrite to take advantage of CSV source!
//TODO: Use on FE to get distributor ID for alerts up front: https://www.papowerswitch.com/umbraco/Api/ShopApi/ZipSearch?zipcode={0}&servicetype=residential
//TODO: UPDATE to use JSON source instead: https://www.papowerswitch.com/umbraco/Api/ShopApi/ZipSearch?zipcode={0}&servicetype=residential
private const string URL = "http://localhost:8000/public/PA_Response.test_markup";
//private const string URL = "https://www.papowerswitch.com/shop-for-rates-results/?zipcode={0}&serviceType=residential&distributor={1}&distributorrate={2}";
//private const string URL = "https://www.papowerswitch.com/umbraco/Api/ShopApi/RateCSV?id={0}&servicetype=residential&ratetype={1}";
private const string SPACE = " ";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ private string GetLocalhostProductUrl(ProductRetailer retailer)
switch (retailer)
{
case ProductRetailer.AppliancesConnection:
return string.Format("{0}/AppliancesConnection_Response.html", LOCAL_URL_BASE);
return string.Format("{0}/AppliancesConnection_Response.test_markup", LOCAL_URL_BASE);

case ProductRetailer.BestBuy:
return string.Format("{0}/BB_Response.html", LOCAL_URL_BASE);
return string.Format("{0}/BB_Response.test_markup", LOCAL_URL_BASE);

case ProductRetailer.HomeDepot:
return string.Format("{0}/HD_Response.html", LOCAL_URL_BASE);
return string.Format("{0}/HD_Response.test_markup", LOCAL_URL_BASE);

case ProductRetailer.Lowes:
return string.Format("{0}/Lowes_Response.html", LOCAL_URL_BASE);
return string.Format("{0}/Lowes_Response.test_markup", LOCAL_URL_BASE);

default:
throw new NotImplementedException();
Expand Down

0 comments on commit 31572c4

Please sign in to comment.