mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-09 09:35:00 +09:00
Fix old name
This commit is contained in:
parent
c100bce3e3
commit
d6fe320f0e
8 changed files with 45 additions and 46 deletions
|
@ -56,7 +56,7 @@ func TestImportFileFromRelation(t *testing.T) {
|
|||
|
||||
var fileObjectId string
|
||||
fileSub.waitOneObjectDetailsSet(t, app, func(t *testing.T, msg *pb.EventObjectDetailsSet) {
|
||||
fileObjectId = msg.Details.GetStringOrDefault(bundle.RelationKeyId, "")
|
||||
fileObjectId = msg.Details.GetString(bundle.RelationKeyId, "")
|
||||
assertImageAvailableInGateway(t, app, fileObjectId)
|
||||
})
|
||||
objectSub.waitObjectDetailsSetWithPredicate(t, app, func(t *testing.T, msg *pb.EventObjectDetailsSet) bool {
|
||||
|
@ -113,7 +113,7 @@ func testImportFileFromMarkdown(t *testing.T, path string) {
|
|||
return false
|
||||
})
|
||||
fileSub.waitOneObjectDetailsSet(t, app, func(t *testing.T, msg *pb.EventObjectDetailsSet) {
|
||||
fileObjectId := msg.Details.GetStringOrDefault(bundle.RelationKeyId, "")
|
||||
fileObjectId := msg.Details.GetString(bundle.RelationKeyId, "")
|
||||
assertImageAvailableInGateway(t, app, fileObjectId)
|
||||
})
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ func testImportObjectWithFileBlock(t *testing.T, path string) {
|
|||
return false
|
||||
})
|
||||
fileSub.waitOneObjectDetailsSet(t, app, func(t *testing.T, msg *pb.EventObjectDetailsSet) {
|
||||
fileObjectId := msg.Details.GetStringOrDefault(bundle.RelationKeyId, "")
|
||||
fileObjectId := msg.Details.GetString(bundle.RelationKeyId, "")
|
||||
assertImageAvailableInGateway(t, app, fileObjectId)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue