Skip to content

Commit

Permalink
Typo and SIP_SKIP
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jun 15, 2018
1 parent a2718da commit 65c1ed2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions src/core/qgsproject.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,17 +109,14 @@ class CORE_EXPORT QgsProject : public QObject, public QgsExpressionContextGenera

~QgsProject() override;

#ifndef SIP_RUN

/**
* Set the current project instance to \a project
*
* \note this is used mainly by the server, which caches the projects and (potentially) needs to switch the current instance on every request
* \see instance()
* \since QGIS 3.2
*/
static void setInstance( QgsProject *project );
#endif
static void setInstance( QgsProject *project ) SIP_SKIP;

/**
* Sets the project's title.
Expand Down
2 changes: 1 addition & 1 deletion tests/src/python/test_qgsserver_wms_getfeatureinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def testGetFeatureInfoFilter(self):
'wms_getfeatureinfo_filter_no_width')

def test_value_relation(self):
"""Test wether value relations are resolved: regression 18518"""
"""Test whether value relations are resolved: regression 18518"""
self.wms_request_compare('GetFeatureInfo',
'&BBOX=537912.30469845747575164,4975501.92125043831765652,577227.89428471261635423,4996610.36656293831765652' +
'&CRS=EPSG:32632' +
Expand Down
Binary file modified tests/testdata/qgis_server/value_relation.gpkg
Binary file not shown.

0 comments on commit 65c1ed2

Please sign in to comment.