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:
Blake Erickson 2021-09-15 18:03:08 -06:00 committed by GitHub
parent 41e19adb0d
commit 91453dd3fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -382,7 +382,7 @@
}, },
"color_scheme_id": { "color_scheme_id": {
"type": [ "type": [
"string", "integer",
"null" "null"
] ]
} }