Skip to content

Commit

Permalink
E2E - Fix version of Py-QGIS-Server
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry authored and github-actions[bot] committed Sep 27, 2024
1 parent 58c5d1b commit f49d91c
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 @@ -101,7 +101,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 f49d91c

Please sign in to comment.