+3
-3
testing/utils.go
+3
-3
testing/utils.go
···
422
422
423
423
ctx := context.TODO()
424
424
_, err := atproto.RepoCreateRecord(ctx, u.client, &atproto.RepoCreateRecord_Input{
425
-
Collection: "app.bsky.feed.vote",
425
+
Collection: "app.bsky.feed.like",
426
426
Repo: u.did,
427
427
Record: &lexutil.LexiconTypeDecoder{Val: &bsky.FeedLike{
428
-
LexiconTypeID: "app.bsky.feed.vote",
428
+
LexiconTypeID: "app.bsky.feed.like",
429
429
CreatedAt: time.Now().Format(time.RFC3339),
430
430
Subject: post,
431
431
}},
···
942
942
return cid.Undef, err
943
943
}
944
944
case "like":
945
-
_, _, err := r.CreateRecord(ctx, "app.bsky.feed.vote", &bsky.FeedLike{
945
+
_, _, err := r.CreateRecord(ctx, "app.bsky.feed.like", &bsky.FeedLike{
946
946
CreatedAt: time.Now().Format(bsutil.ISO8601),
947
947
Subject: &atproto.RepoStrongRef{
948
948
Uri: RandFakeAtUri("app.bsky.feed.post", ""),