Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
Search Doc Service
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
memoriav
M
Memobase 2020
S
services
elastic-services
Search Doc Service
Commits
bad2be66
Commit
bad2be66
authored
Nov 02, 2020
by
Jonas Waeber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests
parent
599efd4f
Pipeline
#16469
passed with stages
in 6 minutes and 11 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/test/kotlin/TestFacetBuilders.kt
src/test/kotlin/TestFacetBuilders.kt
+3
-3
No files found.
src/test/kotlin/TestFacetBuilders.kt
View file @
bad2be66
...
...
@@ -41,7 +41,7 @@ class TestFacetBuilders {
fun
`test
person
facet
builder`
(
params
:
PersonFacetBuilderParams
)
{
val
builder
=
PersonFacetBuilder
()
if
(
builder
.
filter
(
params
.
source
))
{
val
log
=
builder
.
append
(
params
.
source
)
val
log
=
builder
.
append
(
"key"
,
params
.
source
)
val
result
=
builder
.
build
()
assertAll
(
""
,
{
assertThat
(
log
).
isEqualTo
(
params
.
log
)
},
...
...
@@ -100,14 +100,14 @@ class TestFacetBuilders {
fun
`test
multiple
person
facet
builder`
()
{
val
builder
=
PersonFacetBuilder
()
builder
.
append
(
json
{
builder
.
append
(
"key"
,
json
{
obj
(
Pair
(
KEYS
.
atType
,
NS
.
rico
+
"Person"
),
Pair
(
KEYS
.
name
,
"Einstein, Albert"
),
Pair
(
KEYS
.
agentIsTargetOfCreationRelation
,
"identifier"
)
)
})
builder
.
append
(
json
{
builder
.
append
(
"key"
,
json
{
obj
(
Pair
(
KEYS
.
atType
,
NS
.
rico
+
"Person"
),
Pair
(
KEYS
.
name
,
"Albert, Einstein"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment