aboutsummaryrefslogtreecommitdiffstats
path: root/entity/dag/common_test.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2021-03-21 18:22:04 +0100
committerMichael Muré <batolettre@gmail.com>2021-03-21 18:22:04 +0100
commit5215634d0dca37c545904fbc8a12ddd9b8eb72df (patch)
treeee8094fe3eacd9c732cdd489a37340fdcaf1e678 /entity/dag/common_test.go
parent214abe4dea1984086e45d1399538fb12aa010642 (diff)
downloadgit-bug-5215634d0dca37c545904fbc8a12ddd9b8eb72df.tar.gz
entity: add support for storing files
Diffstat (limited to 'entity/dag/common_test.go')
-rw-r--r--entity/dag/common_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/entity/dag/common_test.go b/entity/dag/common_test.go
index 1898451d..25289b76 100644
--- a/entity/dag/common_test.go
+++ b/entity/dag/common_test.go
@@ -21,9 +21,9 @@ import (
type op1 struct {
author identity.Interface
- OperationType int `json:"type"`
- Field1 string `json:"field_1"`
- Files []repository.Hash
+ OperationType int `json:"type"`
+ Field1 string `json:"field_1"`
+ Files []repository.Hash `json:"files"`
}
func newOp1(author identity.Interface, field1 string, files ...repository.Hash) *op1 {