Skip to content

Commit

Permalink
Fixed 'then' condition of getSimpleProjectArea test
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-brinkman committed Sep 25, 2024
1 parent 3ac5ffb commit 97a23de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/groovy/au/org/ala/ecodata/SiteServiceSpec.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,7 @@ class SiteServiceSpec extends MongoSpec implements ServiceUnitTest<SiteService>
def newSite = service.create([name:'Site 1', extent: extent])
then:
def site = service.getSimpleProjectArea(newSite.siteId)
site.geoIndex != null
service.getSimpleProjectArea(newSite.siteId) != null
}
private Map buildExtent(source, type, coordinates, pid = '') {
Expand Down

0 comments on commit 97a23de

Please sign in to comment.