Add new test result

This commit is contained in:
Nyall Dawson 2024-04-30 08:42:02 +10:00
parent 6858e4dff5
commit 81e7a64760
2 changed files with 5 additions and 1 deletions

View File

@ -1254,7 +1254,7 @@ class TestQgsServerWMSGetLegendGraphic(TestQgsServerWMSTestBase):
self.wms_request_compare("GetLegendGraphic",
"&LAYERS=testlayer%20%C3%A8%C3%A9,testlayer3"
"&FORMAT=application/json",
["wms_getlegendgraphic_json_multiple_layers", "wms_getlegendgraphic_json_multiple_layers2"])
["wms_getlegendgraphic_json_multiple_layers", "wms_getlegendgraphic_json_multiple_layers2", "wms_getlegendgraphic_json_multiple_layers3"])
def test_wms_GetLegendGraphic_JSON_multiple_symbol(self):
self.wms_request_compare("GetLegendGraphic",

View File

@ -0,0 +1,4 @@
*****
Content-Type: application/json
{"nodes": [{"icon": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAUklEQVQ4jWNgGAV0A4z4JJWVlf8j8+/evYtTPQs+Q474qaKI2Wxi+I/LMKyC2AxBGHYbq8uYcLmIVDBEDLp79y6jzabbJBlEUvQzEEgCo4BOAAD7DRqVh2f6CwAAAABJRU5ErkJggg==", "title": "testlayer3", "type": "layer"}, {"icon": "iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAP0lEQVQ4jWNgGAV0A4wE5P8Tqx6fQf/TljijCMyK2YtTDy6DMAwhZBgTHheRBIaOQYzQsCAakBr9xOgZBbQGAKb+C8EdAkkoAAAAAElFTkSuQmCC", "title": "A test vector layer", "type": "layer"}], "title": ""}