-
Notifications
You must be signed in to change notification settings - Fork 454
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update expected data to only show docs selected by the query
- Loading branch information
1 parent
fe35bb0
commit ab5dde6
Showing
11 changed files
with
5 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
core/src/test/resources/dev/morphia/test/query/filters/gt/example2/expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
{ _id: ObjectId("61ba3ec9fe687fce2f042417"), item: 'nuts', quantity: 30, carrier: { name: 'Shipit', fee: 3 }, price: 9.99}, | ||
{ _id: ObjectId("61ba3ec9fe687fce2f042418"), item: 'bolts', quantity: 50, carrier: { name: 'Shipit', fee: 4 }}, | ||
{ _id: ObjectId("61ba3ec9fe687fce2f042419"), item: 'washers', quantity: 10, carrier: { name: 'Shipit', fee: 1 }} |
1 change: 1 addition & 0 deletions
1
core/src/test/resources/dev/morphia/test/query/filters/gt/example2/lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
update expected to only show docs selected by the query |
1 change: 0 additions & 1 deletion
1
core/src/test/resources/dev/morphia/test/query/filters/gte/example2/expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
{ _id: ObjectId("61bb51211b83c864e3bbe037"), item: 'nuts', quantity: 30, carrier: { name: 'Shipit', fee: 3 }, price: 9.99}, | ||
{ _id: ObjectId("61bb51211b83c864e3bbe038"), item: 'bolts', quantity: 50, carrier: { name: 'Shipit', fee: 4 }, price: 9.99} | ||
{ "item": "washers", "quantity": 10, "carrier": { "name": "Shipit", "fee": 1 } } |
1 change: 0 additions & 1 deletion
1
core/src/test/resources/dev/morphia/test/query/filters/gte/example2/lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
code block had extra text in it | ||
the "expected" data was simply the changed docs. updated to include all docs regardless of update. |
1 change: 0 additions & 1 deletion
1
core/src/test/resources/dev/morphia/test/query/filters/in/example2/expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
{ item: 'Pens', quantity: 350, tags: [ 'school', 'office' ], exclude: false }, | ||
{ item: 'Erasers', quantity: 15, tags: [ 'school', 'home' ], exclude: false }, | ||
{ "item": "Maps", "tags": [ "office", "storage" ] }, | ||
{ item: 'Books', quantity: 5, tags: [ 'school', 'storage', 'home' ], exclude: false } |
1 change: 0 additions & 1 deletion
1
core/src/test/resources/dev/morphia/test/query/filters/in/example2/lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
code block had extra text in it | ||
the "expected" data was simply the changed docs. updated to include all docs regardless of update. |
1 change: 0 additions & 1 deletion
1
core/src/test/resources/dev/morphia/test/query/filters/ne/example2/expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
{ _id: ObjectId("61ba66e2fe687fce2f042423"), item: 'nuts', quantity: 30, carrier: { name: 'Shipit', fee: 3 }, price: 9.99 }, | ||
{ _id: ObjectId("61ba66e2fe687fce2f042424"), item: 'bolts', quantity: 50, carrier: { name: 'Shipit', fee: 4 }, price: 9.99 }, | ||
{ _id: ObjectId("61ba66e2fe687fce2f042425"), item: 'washers', quantity: 10, carrier: { name: 'Shipit', fee: 1 } } |
1 change: 1 addition & 0 deletions
1
core/src/test/resources/dev/morphia/test/query/filters/ne/example2/lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
update expected to only show docs selected by the query |
3 changes: 0 additions & 3 deletions
3
core/src/test/resources/dev/morphia/test/query/filters/nin/example2/expected.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1 @@ | ||
{ "item": "Pens", "quantity": 350, "tags": [ "school", "office" ] }, | ||
{ "item": "Erasers", "quantity": 15, "tags": [ "school", "home" ] }, | ||
{ "item": "Maps", "tags": [ "office", "storage" ], exclude: true }, | ||
{ "item": "Books", "quantity": 5, "tags": [ "school", "storage", "home" ] } |
1 change: 1 addition & 0 deletions
1
core/src/test/resources/dev/morphia/test/query/filters/nin/example2/lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
update expected to only show docs selected by the query |