Skip to content

Commit 314d0eb

Browse files
committed
Update rest_test.cc
1 parent 87d5058 commit 314d0eb

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

remote_config/tests/desktop/rest_test.cc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,12 @@ TEST_F(RemoteConfigRESTTest, SetupRESTRequest) {
185185
std::string locale = firebase::internal::GetLocale();
186186
EXPECT_EQ(rest.rc_request_.application_data_->languageCode, locale);
187187

188-
// TODO(cynthiajiang) Set Country code and verify installations id and token.
188+
if (locale.length() > 0) {
189+
EXPECT_EQ(rest.rc_request_.application_data_->countryCode,
190+
locale.substr(0, 2));
191+
}
192+
193+
// TODO(cynthiajiang) verify installations id and token.
189194
}
190195

191196
TEST_F(RemoteConfigRESTTest, SetupRESTRequestWithCustomSignals) {

0 commit comments

Comments
 (0)