A platform for community discussion. Free, open, simple.
DEV: Remove fields from fixtures that are no longer valid.
Guo Xiang Tan7a53e0b1865e
diff --git a/test/javascripts/fixtures/category-fixtures.js.es6 b/test/javascripts/fixtures/category-fixtures.js.es6index ea1842a71a2..f77273da73d 100644--- a/test/javascripts/fixtures/category-fixtures.js.es6+++ b/test/javascripts/fixtures/category-fixtures.js.es6@@ -16,8 +16,6 @@ export default {read_restricted: false,permission: null,notification_level: null,- logo_url: null,- background_url: null,available_groups: ["admins","discourse",diff --git a/test/javascripts/fixtures/discovery_fixtures.js.es6 b/test/javascripts/fixtures/discovery_fixtures.js.es6index ef6edc8810b..378a8b77307 100644--- a/test/javascripts/fixtures/discovery_fixtures.js.es6+++ b/test/javascripts/fixtures/discovery_fixtures.js.es6@@ -5921,8 +5921,6 @@ export default {"Topics that don't need a category, or don't fit into any other existing category.",description_text: "",topic_url: null,- logo_url: null,- background_url: null,read_restricted: false,permission: null,notification_level: null,@@ -5951,7 +5949,6 @@ export default {description_text:"Discussion about this site, its organization, how it works, and how we can improve it.",topic_url: "/t/about-the-site-feedback-category/2",- logo_url: null,background_url: null,read_restricted: false,permission: null,diff --git a/test/javascripts/fixtures/group-fixtures.js.es6 b/test/javascripts/fixtures/group-fixtures.js.es6index 4d95a5dc1b3..a3f48f3451f 100644--- a/test/javascripts/fixtures/group-fixtures.js.es6+++ b/test/javascripts/fixtures/group-fixtures.js.es6@@ -271,8 +271,6 @@ export default {email_in_allow_strangers: false,topics_day: 0,posts_day: 28,- logo_url: null,- background_url: null,allow_badges: true,name_lower: "ux",auto_close_based_on_last_post: false@@ -324,8 +322,6 @@ export default {email_in_allow_strangers: false,topics_day: 0,posts_day: 28,- logo_url: null,- background_url: null,allow_badges: true,name_lower: "ux",auto_close_based_on_last_post: false@@ -377,8 +373,6 @@ export default {email_in_allow_strangers: false,topics_day: 0,posts_day: 28,- logo_url: null,- background_url: null,allow_badges: true,name_lower: "ux",auto_close_based_on_last_post: false@@ -430,7 +424,6 @@ export default {email_in_allow_strangers: false,topics_day: 2,posts_day: 8,- logo_url: null,background_url: null,allow_badges: true,name_lower: "feature",@@ -483,7 +476,6 @@ export default {email_in_allow_strangers: false,topics_day: 2,posts_day: 8,- logo_url: null,background_url: null,allow_badges: true,name_lower: "feature",@@ -536,7 +528,6 @@ export default {email_in_allow_strangers: false,topics_day: 1,posts_day: 5,- logo_url: null,background_url: null,allow_badges: true,name_lower: "translations",@@ -591,7 +582,6 @@ export default {email_in_allow_strangers: false,topics_day: 0,posts_day: 3,- logo_url: null,background_url: null,allow_badges: true,name_lower: "dev",@@ -644,7 +634,6 @@ export default {email_in_allow_strangers: false,topics_day: 0,posts_day: 28,- logo_url: null,background_url: null,allow_badges: true,name_lower: "ux",@@ -697,7 +686,6 @@ export default {email_in_allow_strangers: false,topics_day: 2,posts_day: 8,- logo_url: null,background_url: null,allow_badges: true,name_lower: "feature",@@ -750,7 +738,6 @@ export default {email_in_allow_strangers: false,topics_day: 5,posts_day: 70,- logo_url: "",background_url: "",allow_badges: true,name_lower: "support",@@ -803,7 +790,6 @@ export default {email_in_allow_strangers: false,topics_day: 1,posts_day: 6,- logo_url: null,background_url: null,allow_badges: true,name_lower: "bug",@@ -856,7 +842,6 @@ export default {email_in_allow_strangers: false,topics_day: 0,posts_day: 28,- logo_url: null,background_url: null,allow_badges: true,name_lower: "ux",@@ -909,7 +894,6 @@ export default {email_in_allow_strangers: false,topics_day: 0,posts_day: 0,- logo_url: null,background_url: null,allow_badges: true,name_lower: "meta",@@ -962,7 +946,6 @@ export default {email_in_allow_strangers: false,topics_day: 5,posts_day: 70,- logo_url: "",background_url: "",allow_badges: true,name_lower: "support",@@ -1015,7 +998,6 @@ export default {email_in_allow_strangers: false,topics_day: 1,posts_day: 6,- logo_url: null,background_url: null,allow_badges: true,name_lower: "bug",@@ -1068,7 +1050,6 @@ export default {email_in_allow_strangers: false,topics_day: 5,posts_day: 70,- logo_url: "",background_url: "",allow_badges: true,name_lower: "support",@@ -1123,7 +1104,6 @@ export default {email_in_allow_strangers: false,topics_day: 0,posts_day: 3,- logo_url: null,background_url: null,allow_badges: true,name_lower: "dev",@@ -1176,7 +1156,6 @@ export default {email_in_allow_strangers: false,topics_day: 2,posts_day: 8,- logo_url: null,background_url: null,allow_badges: true,name_lower: "extensibility",@@ -1229,7 +1208,6 @@ export default {email_in_allow_strangers: false,topics_day: 5,posts_day: 70,- logo_url: "",background_url: "",allow_badges: true,name_lower: "support",@@ -1282,7 +1260,6 @@ export default {email_in_allow_strangers: false,topics_day: 2,posts_day: 8,- logo_url: null,background_url: null,allow_badges: true,name_lower: "feature",diff --git a/test/javascripts/fixtures/search-fixtures.js.es6 b/test/javascripts/fixtures/search-fixtures.js.es6index d49a7085107..96a14ae24b5 100644--- a/test/javascripts/fixtures/search-fixtures.js.es6+++ b/test/javascripts/fixtures/search-fixtures.js.es6@@ -1485,9 +1485,7 @@ export default {topic_url: "/t/category-definition-for-dev/1026",read_restricted: false,permission: null,- notification_level: null,- logo_url: null,- background_url: null+ notification_level: null}],grouped_search_result: {diff --git a/test/javascripts/fixtures/site-fixtures.js.es6 b/test/javascripts/fixtures/site-fixtures.js.es6index 069cdd8f745..647b908d51d 100644--- a/test/javascripts/fixtures/site-fixtures.js.es6+++ b/test/javascripts/fixtures/site-fixtures.js.es6@@ -88,7 +88,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,background_url: null,show_subcategory_list: false,default_view: "latest"@@ -107,7 +106,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,background_url: null,show_subcategory_list: false,default_view: "latest"@@ -127,7 +125,6 @@ export default {permission: 1,parent_category_id: 2,notification_level: null,- logo_url: null,background_url: null},{@@ -144,7 +141,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,background_url: null,show_subcategory_list: true,default_view: "latest",@@ -164,7 +160,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,background_url: null,show_subcategory_list: false,default_view: "latest"@@ -182,7 +177,6 @@ export default {read_restricted: true,permission: 1,notification_level: null,- logo_url: null,background_url: null},{@@ -200,7 +194,6 @@ export default {permission: 1,parent_category_id: 7,notification_level: null,- logo_url: null,background_url: null},{@@ -218,7 +211,6 @@ export default {permission: 1,parent_category_id: 7,notification_level: null,- logo_url: null,background_url: null},{@@ -235,7 +227,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,background_url: null,show_subcategory_list: false,default_view: "latest"@@ -254,7 +245,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,background_url: null,show_subcategory_list: false,default_view: "latest"@@ -273,8 +263,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,- background_url: null,show_subcategory_list: false,default_view: "latest"},@@ -292,8 +280,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,- background_url: null,show_subcategory_list: false,default_view: "latest"},@@ -311,8 +297,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,- background_url: null,show_subcategory_list: false,default_view: "latest"},@@ -330,8 +314,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,- background_url: null,show_subcategory_list: false,default_view: "latest"},@@ -349,9 +331,7 @@ export default {read_restricted: false,permission: 1,parent_category_id: 5,- notification_level: null,- logo_url: null,- background_url: null+ notification_level: null},{id: 1,@@ -367,8 +347,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,- background_url: null,can_edit: true,show_subcategory_list: false,default_view: "latest"@@ -387,8 +365,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: "",- background_url: "",show_subcategory_list: false,default_view: "latest"},@@ -406,9 +382,7 @@ export default {read_restricted: false,permission: 1,parent_category_id: 6,- notification_level: null,- logo_url: null,- background_url: null+ notification_level: null},{id: 8,@@ -424,8 +398,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,- background_url: null,show_subcategory_list: false,default_view: "latest"},@@ -443,8 +415,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,- background_url: null,show_subcategory_list: false,default_view: "latest"},@@ -462,8 +432,6 @@ export default {read_restricted: false,permission: 1,notification_level: null,- logo_url: null,- background_url: null,show_subcategory_list: true,default_view: "latest",subcategory_list_style: "boxes"