permit updat eto update

This commit is contained in:
breel
2020-08-01 00:51:23 -06:00
parent 15e68cadcd
commit b231bd3940
5 changed files with 26 additions and 34 deletions

View File

@@ -188,10 +188,6 @@ func TestBoltDBUpdate(t *testing.T) {
i++
}
if err := bdb.Update(context.TODO(), testNS, ones[0].Query(), operator.Set{Key: entity.Name, Value: "NEWNAME"}); err == nil {
t.Fatal(err)
}
if err := bdb.Update(context.TODO(), testNS, ones[0].Query(), operator.Set{Key: entity.Title, Value: "NEWTITLE"}); err != nil {
t.Fatal(err)
}