forked from sourcenetwork/defradb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ddc7a87
commit 28dd949
Showing
4 changed files
with
33 additions
and
33 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
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
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
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 |
---|---|---|
|
@@ -90,14 +90,14 @@ func TestSchemaUpdatesAddFieldWithCreateWithUpdateAfterSchemaUpdateAndVersionJoi | |
"name": "John", | ||
"email": "[email protected]", | ||
"_version": []map[string]any{ | ||
{ | ||
// Update commit | ||
"schemaVersionId": updatedSchemaVersionID, | ||
}, | ||
{ | ||
// Create commit | ||
"schemaVersionId": initialSchemaVersionID, | ||
}, | ||
{ | ||
// Update commit | ||
"schemaVersionId": updatedSchemaVersionID, | ||
}, | ||
}, | ||
}, | ||
}, | ||
|
@@ -150,14 +150,14 @@ func TestSchemaUpdatesAddFieldWithCreateWithUpdateAfterSchemaUpdateAndCommitQuer | |
}`, | ||
Results: map[string]any{ | ||
"commits": []map[string]any{ | ||
{ | ||
// Update commit | ||
"schemaVersionId": updatedSchemaVersionID, | ||
}, | ||
{ | ||
// Create commit | ||
"schemaVersionId": initialSchemaVersionID, | ||
}, | ||
{ | ||
// Update commit | ||
"schemaVersionId": updatedSchemaVersionID, | ||
}, | ||
}, | ||
}, | ||
}, | ||
|