Skip to content

Commit e6d4010

Browse files
committed
Adapt expected capabilities / project settings response in server test for WMS 1.3.0 compliance
1 parent 36e89a3 commit e6d4010

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

tests/testdata/qgis_server/getcapabilities.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,12 @@ Content-Type: text/xml; charset=utf-8
9797
</qgs:GetStyles>
9898
</Request>
9999
<Exception>
100-
<Format>text/xml</Format>
100+
<Format>XML</Format>
101101
</Exception>
102102
<Layer queryable="1">
103103
<Name>QGIS Test Project</Name>
104104
<Title>QGIS Test Project</Title>
105+
<CRS>CRS:84</CRS>
105106
<CRS>EPSG:4326</CRS>
106107
<CRS>EPSG:3857</CRS>
107108
<EX_GeographicBoundingBox>
@@ -116,6 +117,7 @@ Content-Type: text/xml; charset=utf-8
116117
<Name>testlayer èé</Name>
117118
<Title>A test vector layer</Title>
118119
<Abstract>A test vector layer with unicode òà</Abstract>
120+
<CRS>CRS:84</CRS>
119121
<CRS>EPSG:4326</CRS>
120122
<CRS>EPSG:3857</CRS>
121123
<EX_GeographicBoundingBox>

tests/testdata/qgis_server/getcapabilities_inspire.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Content-Type: text/xml; charset=utf-8
9797
</qgs:GetStyles>
9898
</Request>
9999
<Exception>
100-
<Format>text/xml</Format>
100+
<Format>XML</Format>
101101
</Exception>
102102
<sld:UserDefinedSymbolization RemoteWFS="0" RemoteWCS="0" InlineFeature="0" UserStyle="1" SupportSLD="1" UserLayer="0"/>
103103
<inspire_vs:ExtendedCapabilities>
@@ -123,6 +123,7 @@ Content-Type: text/xml; charset=utf-8
123123
<Layer queryable="1">
124124
<Name>QGIS Test Project</Name>
125125
<Title>QGIS Test Project</Title>
126+
<CRS>CRS:84</CRS>
126127
<CRS>EPSG:4326</CRS>
127128
<CRS>EPSG:3857</CRS>
128129
<EX_GeographicBoundingBox>
@@ -137,6 +138,7 @@ Content-Type: text/xml; charset=utf-8
137138
<Name>testlayer èé</Name>
138139
<Title>A test vector layer</Title>
139140
<Abstract>A test vector layer with unicode òà</Abstract>
141+
<CRS>CRS:84</CRS>
140142
<CRS>EPSG:4326</CRS>
141143
<CRS>EPSG:3857</CRS>
142144
<EX_GeographicBoundingBox>

tests/testdata/qgis_server/getprojectsettings.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Content-Type: text/xml; charset=utf-8
109109
</GetPrint>
110110
</Request>
111111
<Exception>
112-
<Format>text/xml</Format>
112+
<Format>XML</Format>
113113
</Exception>
114114
<sld:UserDefinedSymbolization UserStyle="1" RemoteWFS="0" SupportSLD="1" UserLayer="0" RemoteWCS="0" InlineFeature="0"/>
115115
<WFSLayers>
@@ -118,6 +118,7 @@ Content-Type: text/xml; charset=utf-8
118118
<Layer queryable="1">
119119
<Name>QGIS Test Project</Name>
120120
<Title>QGIS Test Project</Title>
121+
<CRS>CRS:84</CRS>
121122
<CRS>EPSG:4326</CRS>
122123
<CRS>EPSG:3857</CRS>
123124
<EX_GeographicBoundingBox>
@@ -133,6 +134,7 @@ Content-Type: text/xml; charset=utf-8
133134
<Name>testlayer èé</Name>
134135
<Title>A test vector layer</Title>
135136
<Abstract>A test vector layer with unicode òà</Abstract>
137+
<CRS>CRS:84</CRS>
136138
<CRS>EPSG:4326</CRS>
137139
<CRS>EPSG:3857</CRS>
138140
<EX_GeographicBoundingBox>

0 commit comments

Comments
 (0)