From ec803921f216e3a5f829ab205662265b3c355d65 Mon Sep 17 00:00:00 2001 From: Martin Lees <drov0@users.noreply.github.com> Date: Sat, 23 Apr 2022 21:25:23 -0400 Subject: [PATCH] first fix try --- mock_data/block_data/community_op/flow.txt | 2 +- .../community_op/mock_block_data_community.json | 2 +- .../get_trending_topics/empty.pat.json | 8 ++++---- .../get_trending_topics/max_limit.pat.json | 12 ++++++------ 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/mock_data/block_data/community_op/flow.txt b/mock_data/block_data/community_op/flow.txt index c9a070d6e..baabcc53b 100644 --- a/mock_data/block_data/community_op/flow.txt +++ b/mock_data/block_data/community_op/flow.txt @@ -70,7 +70,7 @@ comment_operation( `hive-198723`, `test-safari`,`please-comment-hive3-03`) comment_operation( `hive-171487`, `alice`,`My-first-post-hive-1`) comment_operation( `hive-157439`, `alice`,`My-first-post-hive-2`) comment_operation( `hive-198723`, `alice`,`My-first-post-hive-3`) -custom_json_operation("alice" -> "[\"subscribe\", {\"community\": \"hive-171488\"}]") +custom_json_operation("test-safari" -> "[\"subscribe\", {\"community\": \"hive-171488\"}]") custom_json_operation("[\"setRole\", {\"community\": \"hive-171488\", \"account\": \"test-safari\", \"role\": \"admin\"}]") custom_json_operation("[\"setRole\", {\"community\": \"hive-171487\", \"account\": \"test-safari\", \"role\": \"admin\"}]") custom_json_operation("[\"updateProps\",{\"community\":\"hive-171488\",\"props\":{\"title\": \"Hello\", \"about\": \"Nothing.\", \"is_nsfw\": true, \"description\": \"Nothing\", \"flag_text\": \"Lol\"}}]") diff --git a/mock_data/block_data/community_op/mock_block_data_community.json b/mock_data/block_data/community_op/mock_block_data_community.json index 0b71bd562..3bfaf1595 100644 --- a/mock_data/block_data/community_op/mock_block_data_community.json +++ b/mock_data/block_data/community_op/mock_block_data_community.json @@ -1220,7 +1220,7 @@ "value": { "required_auths": [], "required_posting_auths": [ - "alice" + "test-safari" ], "id": "community", "json": "[\"subscribe\",{\"community\":\"hive-171488\"}]" diff --git a/tests/api_tests/hivemind/tavern/bridge_api_patterns/get_trending_topics/empty.pat.json b/tests/api_tests/hivemind/tavern/bridge_api_patterns/get_trending_topics/empty.pat.json index b31f854d9..290651943 100644 --- a/tests/api_tests/hivemind/tavern/bridge_api_patterns/get_trending_topics/empty.pat.json +++ b/tests/api_tests/hivemind/tavern/bridge_api_patterns/get_trending_topics/empty.pat.json @@ -23,6 +23,10 @@ "hive-165317", "hive-165317" ], + [ + "hive-188204", + "hive-188204" + ], [ "hive-186669", "hive-186669" @@ -34,9 +38,5 @@ [ "hive-104647", "hive-104647" - ], - [ - "hive-188204", - "hive-188204" ] ] diff --git a/tests/api_tests/hivemind/tavern/bridge_api_patterns/get_trending_topics/max_limit.pat.json b/tests/api_tests/hivemind/tavern/bridge_api_patterns/get_trending_topics/max_limit.pat.json index 819b2a61d..d1cab183c 100644 --- a/tests/api_tests/hivemind/tavern/bridge_api_patterns/get_trending_topics/max_limit.pat.json +++ b/tests/api_tests/hivemind/tavern/bridge_api_patterns/get_trending_topics/max_limit.pat.json @@ -23,6 +23,10 @@ "hive-165317", "hive-165317" ], + [ + "hive-188204", + "hive-188204" + ], [ "hive-186669", "hive-186669" @@ -36,8 +40,8 @@ "hive-104647" ], [ - "hive-188204", - "hive-188204" + "hive-167892", + "hive-167892" ], [ "hive-149232", @@ -47,10 +51,6 @@ "hive-186713", "Test group" ], - [ - "hive-167892", - "hive-167892" - ], [ "hive-103459", "hive-103459" -- GitLab