Bug 1972631 - Update search config tests for Google Partner Code. r=standard8 a=pascalc
Differential Revision: https://phabricator.services.mozilla.com/D254507
This commit is contained in:
committed by
pchevrel@mozilla.com
parent
d55385a1dd
commit
eb59c44268
@@ -118,10 +118,9 @@ add_task(async function test_search_config_codes_in_search_telemetry() {
|
||||
`Should have the base partner code ${engine.base.partnerCode} listed in the search telemetry 'taggedCodes'`
|
||||
);
|
||||
} else {
|
||||
Assert.equal(
|
||||
telemetryEntry.telemetryId,
|
||||
"baidu",
|
||||
"Should only not have a base partner code for Baidu"
|
||||
Assert.ok(
|
||||
["google", "baidu"].includes(telemetryEntry.telemetryId),
|
||||
"Should only not have a base partner code for Google and Baidu"
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user