Skip to content

Commit

Permalink
1. Updating extensions endpoint to staging server
Browse files Browse the repository at this point in the history
2. Updated tests
  • Loading branch information
jumde committed Feb 15, 2019
1 parent 3c34330 commit 8db7b30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

namespace {

const char kComponentUpdaterProxy[] = "https://componentupdater.brave.com"
const char kComponentUpdaterProxy[] = "https://componentupdater.brave.com";

class BraveCommonStaticRedirectNetworkDelegateHelperTest: public testing::Test {
public:
Expand Down Expand Up @@ -55,8 +55,7 @@ TEST_F(BraveCommonStaticRedirectNetworkDelegateHelperTest, ModifyComponentUpdate

TEST_F(BraveCommonStaticRedirectNetworkDelegateHelperTest, NoModifyComponentUpdaterURL) {
net::TestDelegate test_delegate;
std::string query_string("?braveRedirect=true");
GURL url(std::string(component_updater::kUpdaterDefaultUrl) + query_string);
GURL url(kComponentUpdaterProxy);
std::unique_ptr<net::URLRequest> request =
context()->CreateRequest(url, net::IDLE, &test_delegate,
TRAFFIC_ANNOTATION_FOR_TESTS);
Expand Down
2 changes: 1 addition & 1 deletion common/network_constants.cc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// "https://go-updater.brave.com/extensions";
// For debgugging:
const char kBraveUpdatesExtensionsEndpoint[] =
"http://localhost:8192/extensions";
"http://18.191.93.235/extensions";

const char kBraveReferralsServer[] = "laptop-updates.brave.com";
const char kBraveReferralsHeadersPath[] = "/promo/custom-headers";
Expand Down

0 comments on commit 8db7b30

Please sign in to comment.