Skip to content

Commit

Permalink
Fixed book and movie years.
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <[email protected]>
  • Loading branch information
dblock committed Dec 17, 2024
1 parent bcf1793 commit ba56b40
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion tests/default/_core/mget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ prologues:
content_type: application/x-ndjson
payload:
- {create: {_index: books, _id: book1}}
- {author: Harper Lee, title: To Kill a Mockingbird, year: 60}
- {author: Harper Lee, title: To Kill a Mockingbird, year: 1960}
- {create: {_index: movies, _id: movie1}}
- {director: Bennett Miller, title: The Cruise, year: 1998}
- {create: {_index: movies, _id: movie2}}
Expand Down
2 changes: 1 addition & 1 deletion tests/default/_core/msearch/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ prologues:
content_type: application/x-ndjson
payload:
- {create: {_index: books, _id: book1}}
- {author: Harper Lee, title: To Kill a Mockingbird, year: 60}
- {author: Harper Lee, title: To Kill a Mockingbird, year: 1960}
- {create: {_index: movies, _id: movie1}}
- {director: Bennett Miller, title: The Cruise, year: 1998}
- {create: {_index: movies, _id: movie2}}
Expand Down
2 changes: 1 addition & 1 deletion tests/default/_core/reindex/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ prologues:
request:
payload:
title: Beauty and the Beast
year: 91
year: 1991
status: [201]
chapters:
- synopsis: Transform documents using a pipeline.
Expand Down
2 changes: 1 addition & 1 deletion tests/default/cat/pending_tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ prologues:
request:
payload:
title: Beauty and the Beast
year: 91
year: 1991
status: [201]
- path: /_reindex
method: POST
Expand Down
2 changes: 1 addition & 1 deletion tests/default/cluster/pending_tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ prologues:
request:
payload:
title: Beauty and the Beast
year: 91
year: 1991
status: [201]
- path: /_reindex
method: POST
Expand Down
4 changes: 2 additions & 2 deletions tests/default/indices/delete_by_query.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ prologues:
content_type: application/x-ndjson
payload:
- {create: {_index: books, _id: book_1392214}}
- {author: Harper Lee, title: To Kill a Mockingbird, year: 60}
- {author: Harper Lee, title: To Kill a Mockingbird, year: 1960}
- {create: {_index: books, _id: book_1392215}}
- {author: Elizabeth Rudnick, title: Beauty and the Beast, year: 91}
- {author: Elizabeth Rudnick, title: Beauty and the Beast, year: 1991}
chapters:
- synopsis: Delete documents in the index (full query term, script).
path: /{index}/_delete_by_query
Expand Down
4 changes: 2 additions & 2 deletions tests/default/indices/delete_by_query/rethrottle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ prologues:
content_type: application/x-ndjson
payload:
- {create: {_index: books, _id: book_1392214}}
- {author: Harper Lee, title: To Kill a Mockingbird, year: 60}
- {author: Harper Lee, title: To Kill a Mockingbird, year: 1960}
- {create: {_index: books, _id: book_1392215}}
- {author: Elizabeth Rudnick, title: Beauty and the Beast, year: 91}
- {author: Elizabeth Rudnick, title: Beauty and the Beast, year: 1991}
- path: /books/_delete_by_query
id: task
method: POST
Expand Down
2 changes: 1 addition & 1 deletion tests/default/indices/msearch/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ prologues:
content_type: application/x-ndjson
payload:
- {create: {_index: books, _id: book1}}
- {author: Harper Lee, title: To Kill a Mockingbird, year: 60}
- {author: Harper Lee, title: To Kill a Mockingbird, year: 1960}
- {create: {_index: books, _id: book2}}
- {director: Bennett Miller, title: The Cruise, year: 1998}
- {create: {_index: books, _id: book3}}
Expand Down
2 changes: 1 addition & 1 deletion tests/default/transforms/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ prologues:
request:
payload:
title: Beauty and the Beast
year: 91
year: 1991
status: [201]
epilogues:
- path: /movies
Expand Down
2 changes: 1 addition & 1 deletion tests/default/transforms/transform.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ prologues:
request:
payload:
title: Beauty and the Beast
year: 91
year: 1991
status: [201]
epilogues:
- path: /_plugins/_transform/movies-to-films
Expand Down
2 changes: 1 addition & 1 deletion tests/default/transforms/transform/explain.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ prologues:
request:
payload:
title: Beauty and the Beast
year: 91
year: 1991
status: [201]
- path: /_plugins/_transform/movies-to-films
method: PUT
Expand Down
2 changes: 1 addition & 1 deletion tests/default/transforms/transform/start.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ prologues:
request:
payload:
title: Beauty and the Beast
year: 91
year: 1991
status: [201]
- path: /_plugins/_transform/movies-to-films
method: PUT
Expand Down
2 changes: 1 addition & 1 deletion tests/default/transforms/transform/stop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ prologues:
request:
payload:
title: Beauty and the Beast
year: 91
year: 1991
status: [201]
- path: /_plugins/_transform/movies-to-films
method: PUT
Expand Down

0 comments on commit ba56b40

Please sign in to comment.