Skip to content

Commit 9395a5a

Browse files
Fix geospatial field tests
1 parent 21a14b6 commit 9395a5a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/server/plugins/engine/components/GeospatialField.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ describe('GeospatialField', () => {
108108

109109
expect(result.errors).toEqual([
110110
expect.objectContaining({
111-
text: 'Example geospatial must contain at least 1 items'
111+
text: 'Select example geospatial'
112112
})
113113
])
114114
})
@@ -126,7 +126,7 @@ describe('GeospatialField', () => {
126126

127127
expect(result.errors).toEqual([
128128
expect.objectContaining({
129-
text: 'Example geospatial title must contain at least 1 items'
129+
text: 'Select example geospatial title'
130130
})
131131
])
132132
})
@@ -235,7 +235,7 @@ describe('GeospatialField', () => {
235235
it('should return errors', () => {
236236
const errors = field.getAllPossibleErrors()
237237
expect(errors.baseErrors).not.toBeEmpty()
238-
expect(errors.advancedSettingsErrors).not.toBeEmpty()
238+
expect(errors.advancedSettingsErrors).toBeEmpty()
239239
})
240240
})
241241
})

0 commit comments

Comments
 (0)