Skip to content

Commit

Permalink
fixed failing test
Browse files Browse the repository at this point in the history
added more info test site object
  • Loading branch information
temi committed Nov 27, 2024
1 parent 59930de commit 111475a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Run tests and jacoco coverage report with Gradle
uses: gradle/gradle-build-action@v2.4.2
with:
arguments: -PenableJacoco=true test
arguments: -PenableJacoco=true check

- name: Run javascript unit tests
run: node_modules/karma/bin/karma start karma.conf.js --single-run --browsers ChromeHeadless
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,13 @@ class PreviewController {
def sites = [[
'siteId': 'abc',
'projects': ['projectA'],
'name': 'Test site'
'name': 'Test site',
extent: [
geometry: [
type: 'Point',
coordinates: [ 153.0, -27.0 ]
]
]
]]
render sites as JSON, contentType: 'application/json'
}
Expand Down

0 comments on commit 111475a

Please sign in to comment.