Skip to content

Commit

Permalink
Merge pull request #4801 from Gustry/py-qgis-server
Browse files Browse the repository at this point in the history
E2E - Fix version of Py-QGIS-Server
  • Loading branch information
Gustry authored Sep 27, 2024
2 parents e3168c3 + df63b0e commit a940d7b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('Request JSON metadata', function () {
expect(response.headers['content-type']).to.eq('application/json');

expect(response.body.qgis_server_info.py_qgis_server.found).to.eq(true)
expect(response.body.qgis_server_info.py_qgis_server.version).to.contain('.')
expect(response.body.qgis_server_info.py_qgis_server.version).to.match(/\.|n\/a/i)
expect(response.body.qgis_server_info.metadata.version).to.contain('3.')
expect(response.body.qgis_server_info.plugins.lizmap_server.version).to.match(/(\d+\.\d+|master|dev)/i)

Expand Down Expand Up @@ -106,7 +106,7 @@ describe('Request JSON metadata', function () {
expect(response.headers['content-type']).to.eq('application/json');

expect(response.body.qgis_server_info.py_qgis_server.found).to.eq(true)
expect(response.body.qgis_server_info.py_qgis_server.version).to.contain('.')
expect(response.body.qgis_server_info.py_qgis_server.version).to.match(/\.|n\/a/i)
expect(response.body.qgis_server_info.metadata.version).to.contain('3.')
expect(response.body.qgis_server_info.plugins.lizmap_server.version).to.match(/(\d+\.\d+|master|dev)/i)
});
Expand Down

0 comments on commit a940d7b

Please sign in to comment.