From a1ce77ef3ecfcc4c5f8a0b9ceab2fe604ba3a357 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Tue, 16 Apr 2024 10:45:30 -0300 Subject: [PATCH] test: add events in fixtures dir --- .../event-0-the-one-who-quote-repost.json | 9 +++++++ fixtures/events/event-1-quote-repost.json | 15 +++++++++++ .../event-1-that-will-be-quote-reposted.json | 27 +++++++++++++++++++ 3 files changed, 51 insertions(+) create mode 100644 fixtures/events/event-0-the-one-who-quote-repost.json create mode 100644 fixtures/events/event-1-quote-repost.json create mode 100644 fixtures/events/event-1-that-will-be-quote-reposted.json diff --git a/fixtures/events/event-0-the-one-who-quote-repost.json b/fixtures/events/event-0-the-one-who-quote-repost.json new file mode 100644 index 00000000..3aabeeb8 --- /dev/null +++ b/fixtures/events/event-0-the-one-who-quote-repost.json @@ -0,0 +1,9 @@ +{ + "id": "6bc9ca44feb5a261841873def54a81cc328737391dc10f7eada31173a399517d", + "pubkey": "47259076c85f9240e852420d7213c95e95102f1de929fb60f33a2c32570c98c4", + "created_at": 1712851917, + "kind": 0, + "tags": [], + "content": "{\"name\":\"patrickReiis\",\"picture\":\"https://void.cat/d/EMs8Qdn5wsAMrZ5T9T44sz.webp\"}", + "sig": "cedbd2585c18c9ee8cbafa4e3b1fefbe68cc15deeabcb0519791c6d715f92d1439ca9ac7584185a94d521709f9023fcbafab47a074a7ce8a247d3ce4dfce8af3" +} \ No newline at end of file diff --git a/fixtures/events/event-1-quote-repost.json b/fixtures/events/event-1-quote-repost.json new file mode 100644 index 00000000..e9d94e90 --- /dev/null +++ b/fixtures/events/event-1-quote-repost.json @@ -0,0 +1,15 @@ +{ + "id": "e0c2b45143717d62f85880aa7e26f2c3f4b10ada9ef547ae2479cfdd94ea2ce6", + "pubkey": "47259076c85f9240e852420d7213c95e95102f1de929fb60f33a2c32570c98c4", + "created_at": 1713217672, + "kind": 1, + "tags": [ + [ + "q", + "826b28986cbe8196faaddb502bbcfb9d5521981d24e858ad1924a178e18f570f", + "wss://relay.mostr.pub/" + ] + ], + "content": "I like this lottery.\nnostr:nevent1qqsgy6egnpktaqvkl2kak5pthnae64fpnqwjf6zc45vjfgtcux84wrcpzemhxue69uhhyetvv9ujumt0wd68ytnsw43z7q3q08pv4cg5ag52nq082kd5leu9ffrn2gdg6g4xdwatn73y36uzplmqxpqqqqqqzrvwgz7", + "sig": "5a40475e719ad4cf98dd685a268158995c25050057632564d38789ce39a66e9d34b2d4ec9bef650b60bcfe8106415385f28ba291e168a1d02e32e092b8b86615" +} diff --git a/fixtures/events/event-1-that-will-be-quote-reposted.json b/fixtures/events/event-1-that-will-be-quote-reposted.json new file mode 100644 index 00000000..f9ad396e --- /dev/null +++ b/fixtures/events/event-1-that-will-be-quote-reposted.json @@ -0,0 +1,27 @@ +{ + "id": "826b28986cbe8196faaddb502bbcfb9d5521981d24e858ad1924a178e18f570f", + "pubkey": "79c2cae114ea28a981e7559b4fe7854a473521a8d22a66bbab9fa248eb820ff6", + "created_at": 1711675519, + "kind": 1, + "tags": [ + [ + "zap", + "79c2cae114ea28a981e7559b4fe7854a473521a8d22a66bbab9fa248eb820ff6", + "wss://relay.mostr.pub", + "0.915" + ], + [ + "zap", + "6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9", + "wss://relay.mostr.pub", + "0.085" + ], + [ + "proxy", + "https://gleasonator.com/objects/66216159-a709-431b-81e9-e4e1f86e20e4", + "activitypub" + ] + ], + "content": "The Bitcoin Lottery is free to play, and you can win millions! Unlimited tries!\n\nJust guess 12 words mnemonic seed phrase words.", + "sig": "b76264f9a7ec0860a9dd3b72f94e81ed6c0d848eee2bc5cc89b78b1cb1b4e00243f0f354c0185824fe16eb16cfcab511275388b6acd29e0d05d97dea1564d5be" +} \ No newline at end of file