Skip to content

Commit

Permalink
fix test data
Browse files Browse the repository at this point in the history
verinice-veo#1116
  • Loading branch information
jochenkemnade committed Nov 22, 2024
1 parent 06e0f4e commit ef33dfb
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions src/test/groovy/org/veo/templating/TemplateEvaluatorSpec.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -100,21 +100,21 @@ Cheers'''
name: 'Asset 1',
abbreviation: '1 of 12',
designator: 'AST-234',
customAspects: []
customAspects: [:]
],
[
id: '2',
type: 'asset',
name: 'Asset 10',
abbreviation: '10 of 12',
customAspects: []
customAspects: [:]
],
[
id: '3',
type: 'asset',
name: 'Asset 12',
designator: 'AST-9',
customAspects: []
customAspects: [:]
]
]
when:
Expand Down Expand Up @@ -157,7 +157,7 @@ Sort by designator: Asset 10, Asset 12, Asset 1'''
]
]
],
customAspects: []
customAspects: [:]
],
[
name: 'Jack',
Expand All @@ -184,7 +184,7 @@ Sort by designator: Asset 10, Asset 12, Asset 1'''
]
]
],
customAspects: []
customAspects: [:]
],
[
name: 'Jane',
Expand All @@ -203,14 +203,14 @@ Sort by designator: Asset 10, Asset 12, Asset 1'''
]
]
],
customAspects: []
customAspects: [:]
],
[
name: 'Mary',
id: '4',
_self: 'http://example.org/persons/4',
type: 'person',
customAspects: []
customAspects: [:]
]
]
when:
Expand All @@ -237,7 +237,7 @@ Jack's children are named John and Jane.'''
type: 'person'
]
],
customAspects: []
customAspects: [:]
]
],
persons: [
Expand All @@ -246,7 +246,7 @@ Jack's children are named John and Jane.'''
id: '1',
_self: 'http://example.org/persons/1',
type: 'person',
customAspects: []
customAspects: [:]

]
]
Expand Down Expand Up @@ -279,7 +279,7 @@ Jack's children are named John and Jane.'''
type: 'asset'
]
],
customAspects: []
customAspects: [:]
]
],
persons: [
Expand All @@ -288,7 +288,7 @@ Jack's children are named John and Jane.'''
id: '1',
_self: 'http://example.org/persons/1',
type: 'person',
customAspects: []
customAspects: [:]

]
]
Expand Down Expand Up @@ -321,21 +321,21 @@ Jack's children are named John and Jane.'''
type: 'person'
]
],
customAspects: []
customAspects: [:]
],
[
name: 'Jack',
id: '2',
_self: 'http://example.org/persons/2',
type: 'person',
customAspects: []
customAspects: [:]
],
[
name: 'Jane',
id: '3',
_self: 'http://example.org/persons/3',
type: 'person',
customAspects: []
customAspects: [:]
]
]
when:
Expand All @@ -358,13 +358,13 @@ Jack's children are named John and Jane.'''
subType : 'MySubType'
]
],
customAspects: []
customAspects: [:]
],
[
name: 'John',
id: '2',
type: 'person',
customAspects: []
customAspects: [:]
],
[
name: 'Jack',
Expand All @@ -375,7 +375,7 @@ Jack's children are named John and Jane.'''
subType : 'OtherSubType'
]
],
customAspects: []
customAspects: [:]
],
[
name: 'Sue',
Expand All @@ -389,7 +389,7 @@ Jack's children are named John and Jane.'''
subType : 'MySubType'
]
],
customAspects: []
customAspects: [:]
]
]
when:
Expand Down Expand Up @@ -418,7 +418,7 @@ Jack's children are named John and Jane.'''
]
]
],
customAspects: []
customAspects: [:]
]
def domain = [
id: domainId,
Expand Down Expand Up @@ -494,21 +494,21 @@ Jack's children are named John and Jane.'''
]
]
],
customAspects: []
customAspects: [:]
]
def scenario = [
name: 'Fire',
id: scenarioId,
type: 'scenario',
'_self': "http://localhost/scenarios/$scenarioId".toString(),
customAspects: []
customAspects: [:]
]
def person = [
name: 'John Doe',
id: personId,
type: 'person',
'_self': "http://localhost/persons/$personId".toString(),
customAspects: []
customAspects: [:]
]
def control = [
name: 'Fixitall',
Expand All @@ -524,7 +524,7 @@ Jack's children are named John and Jane.'''
]
]
],
customAspects: []
customAspects: [:]
]
def domain = [
id: domainId,
Expand Down

0 comments on commit ef33dfb

Please sign in to comment.