Add test cases for language type

This commit is contained in:
M. Rehan
2024-03-29 05:57:13 +05:00
parent 1b4fd73fcd
commit a8c1b289da
2 changed files with 81 additions and 1 deletions

View File

@@ -33,6 +33,42 @@ questions:
$ref:
- definitions/timezone
- variable: testyamllang
label: Test YAML Language
group: Plex Configuration
description: This is to test yaml language type
schema:
type: text
default: ""
language: "yaml"
- variable: testtomllang
label: Test TOML Language
group: Plex Configuration
description: This is to test toml language type
schema:
type: text
default: ""
language: "toml"
- variable: testjsonlang
label: Test JSON Language
group: Plex Configuration
description: This is to test json language type
schema:
type: text
default: ""
language: "json"
- variable: testtextlang
label: Test Text Language
group: Plex Configuration
description: This is to test json language type
schema:
type: text
default: ""
language: "text"
- variable: plexConfig
label: ""
group: Plex Configuration

View File

@@ -152,6 +152,50 @@
]
}
},
{
"variable": "testyamllang",
"label": "Test YAML Language",
"group": "Plex Configuration",
"description": "This is to test yaml language type",
"schema": {
"type": "text",
"default": "",
"language": "yaml"
}
},
{
"variable": "testtomllang",
"label": "Test TOML Language",
"group": "Plex Configuration",
"description": "This is to test toml language type",
"schema": {
"type": "text",
"default": "",
"language": "toml"
}
},
{
"variable": "testjsonlang",
"label": "Test JSON Language",
"group": "Plex Configuration",
"description": "This is to test json language type",
"schema": {
"type": "text",
"default": "",
"language": "json"
}
},
{
"variable": "testtextlang",
"label": "Test Text Language",
"group": "Plex Configuration",
"description": "This is to test json language type",
"schema": {
"type": "text",
"default": "",
"language": "text"
}
},
{
"variable": "plexConfig",
"label": "",
@@ -2562,4 +2606,4 @@
"detailed_readme": "<h1>Plex Media Server helm chart</h1>\n<h2>Configuration</h2>\n<p>Please refer to questions.yaml for a detailed overview on supported configurable items.</p>",
"changelog": null
}
}
}