mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 13:41:31 +08:00
DEV: Fix flaky site.json api test (#14351)
The color_scheme_id needs to be an integer not a string. This is one of the failing tests that showed this error: https://github.com/discourse/discourse/runs/3598414971 It showed this error `POSSIBLE ISSUE W/: /user_themes/0/color_scheme_id` And this is part of the site.json response: ``` ... "user_themes"=>[{"theme_id"=>149, "name"=>"Cool theme 111", "default"=>false, "color_scheme_id"=>37}] ... ```
This commit is contained in:
parent
41e19adb0d
commit
91453dd3fc
|
@ -382,7 +382,7 @@
|
|||
},
|
||||
"color_scheme_id": {
|
||||
"type": [
|
||||
"string",
|
||||
"integer",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user