From 0f3280f836220b56465fb29631c0624907d65a77 Mon Sep 17 00:00:00 2001 From: Snazzah <me@snazzah.com> Date: Fri, 24 Jan 2025 18:52:35 -0600 Subject: [PATCH] fix(api/tests/threads): re-add tests --- api/src/util/tests/threads.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 api/src/util/tests/threads.json diff --git a/api/src/util/tests/threads.json b/api/src/util/tests/threads.json new file mode 100644 index 00000000..a903930f --- /dev/null +++ b/api/src/util/tests/threads.json @@ -0,0 +1,29 @@ +[ + { + "name": "video", + "url": "https://www.threads.net/@zuck/post/CzecNnZPaxr", + "params": {}, + "expected": { + "code": 200, + "status": "redirect" + } + }, + { + "name": "photo", + "url": "https://www.threads.net/@soren.iverson/post/C8PdJ59pMLr", + "params": {}, + "expected": { + "code": 200, + "status": "redirect" + } + }, + { + "name": "mixed media", + "url": "https://www.threads.net/@snazzahguy/post/C8Q7UZDseWz", + "params": {}, + "expected": { + "code": 200, + "status": "picker" + } + } +] \ No newline at end of file