Update the UserSignedIn test to check for a specific VariationID.
The status quo test compares the actual header with the header returned by GetClientDataHeaders(). However, as discussed in [1], the important thing to verify is that the GOOGLE_WEB_PROPERTIES_SIGNED_ID-associated VariationID is included in the header when expected. Similarly, update the UserNotSignedIn test to check that the ID is not included in the header. Also, remove CreateTrialAndAssociateId() from the browser test file since it now exists in variations_test_utils.h. [1] https://chromium-review.googlesource.com/c/chromium/src/+/2461906/comment/d6233bfd_454a08ff/ Bug: 1134444 Change-Id: I22101a138f930e2b1cfaf4ba3f74211eb87c9a49 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2508338Reviewed-by:Alexei Svitkine <asvitkine@chromium.org> Reviewed-by:
David Benjamin <davidben@chromium.org> Commit-Queue: Caitlin Fischer <caitlinfischer@google.com> Cr-Commit-Position: refs/heads/master@{#823554}
Showing
Please register or sign in to comment