1
0
mirror of synced 2026-08-05 09:56:55 +00:00

FIX: re-revert db4f5f99 with updated tests (#88)

The tests were using an incorrect value for the site setting (the name of the group instead of the id).

`no_ads_for_groups` shows groups names in the UI byt actually stores IDs.
This commit is contained in:
Joffrey JAFFEUX
2020-08-04 08:03:22 +02:00
committed by GitHub
parent db4f5f990d
commit 914735767a
3 changed files with 6 additions and 14 deletions
@@ -4,7 +4,7 @@ import groupFixtures from "fixtures/group-fixtures";
acceptance("AdSense", {
loggedIn: true,
settings: {
no_ads_for_groups: "discourse",
no_ads_for_groups: "47",
no_ads_for_categories: "1",
adsense_publisher_code: "MYADSENSEID",
adsense_through_trust_level: 2,
+1 -1
View File
@@ -4,7 +4,7 @@ import groupFixtures from "fixtures/group-fixtures";
acceptance("DFP Ads", {
loggedIn: true,
settings: {
no_ads_for_groups: "discourse",
no_ads_for_groups: "47",
no_ads_for_categories: "1",
dfp_publisher_id: "MYdfpID",
dfp_through_trust_level: 2,