diff options
author | mat <27899617+mat-1@users.noreply.github.com> | 2021-04-27 14:29:07 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 14:29:07 -0500 |
commit | 4ce80d0af8f53e93aa3a936b1ad4c5b6c065c881 (patch) | |
tree | f5ffb4d7a23d7c6edee01fb605ff81348feea40d /test/data/skyblock/profiles/e403573808ad45ddb5c48ec7c4db0144.json | |
parent | 562cd341f75bfb2701cc844cf30f1191e4170ca7 (diff) | |
download | skyblock-api-4ce80d0af8f53e93aa3a936b1ad4c5b6c065c881.tar.gz skyblock-api-4ce80d0af8f53e93aa3a936b1ad4c5b6c065c881.tar.bz2 skyblock-api-4ce80d0af8f53e93aa3a936b1ad4c5b6c065c881.zip |
Add unit tests (#12)
* start adding unit tests
* add more to test/data/mojang.json
* fix sending http requests in tests when it shouldn't
* add a few more tests
* try to add a github action to run tests
* Update test.yml
Diffstat (limited to 'test/data/skyblock/profiles/e403573808ad45ddb5c48ec7c4db0144.json')
-rw-r--r-- | test/data/skyblock/profiles/e403573808ad45ddb5c48ec7c4db0144.json | 658 |
1 files changed, 658 insertions, 0 deletions
diff --git a/test/data/skyblock/profiles/e403573808ad45ddb5c48ec7c4db0144.json b/test/data/skyblock/profiles/e403573808ad45ddb5c48ec7c4db0144.json new file mode 100644 index 0000000..a021d81 --- /dev/null +++ b/test/data/skyblock/profiles/e403573808ad45ddb5c48ec7c4db0144.json @@ -0,0 +1,658 @@ +{ + "success": true, + "profiles": [ + { + "profile_id": "51551be54455472db9c762dfc6ae715d", + "members": { + "e403573808ad45ddb5c48ec7c4db0144": { + "last_save": 1613785552389, + "inv_armor": { + "type": 0, + "data": "H4sIAAAAAAAAAOWV227jRBiAJ22XJmFRBSysesVwulrM2h4fI3GRJmnjYDvdxD0kN9XYHidufIh8oE3fgUfgDikvwBPkUXgQ4E+73S2llZBWewN3M//5n/+bmTpCNVQJ6wihrQ20EfoVroKetNIyKSp1tFnQSQV9eJS4GaMz6kassolq3dBn+xGd5OD0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2metvml2Ws4NkrWhaVids27TeUOh5hFVJq7PCfp65EGgcq4mC5zs6wFRA+LKivswhXqDV/Dh3yjcROgvrO8heyMJAAA=" + }, + "first_join": 1613464166159, + "first_join_hub": 741492, + "stats": { + "deaths": 26, + "deaths_void": 10, + "pet_milestone_ores_mined": 361, + "highest_critical_damage": 233.73504000000003, + "kills": 316, + "kills_zombie": 67, + "kills_spider": 8, + "kills_skeleton": 22, + "kills_rabbit": 1, + "kills_invisible_creeper": 4, + "kills_lapis_zombie": 37, + "kills_emerald_slime": 119, + "deaths_emerald_slime": 7, + "kills_diamond_skeleton": 9, + "deaths_diamond_skeleton": 2, + "deaths_diamond_zombie": 4, + "deaths_lapis_zombie": 1, + "kills_diamond_zombie": 8, + "deaths_fire": 1, + "kills_zombie_villager": 34, + "kills_witch": 2, + "deaths_spider": 1, + "auctions_bids": 2, + "auctions_highest_bid": 575, + "kills_enderman": 2, + "kills_night_respawning_skeleton": 3 + }, + "objectives": { + "collect_log": { + "status": "COMPLETE", + "progress": 1, + "completed_at": 1613464204316 + }, + "talk_to_guide": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613464342877 + }, + "public_island": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613464479708 + }, + "craft_workbench": { + "status": "COMPLETE", + "progress": 1, + "completed_at": 1613464212418 + }, + "craft_wood_pickaxe": { + "status": "COMPLETE", + "progress": 1, + "completed_at": 1613464242322 + }, + "explore_hub": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613784987054 + }, + "explore_village": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613785227256 + }, + "talk_to_librarian": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "talk_to_farmer": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613632783783 + }, + "talk_to_blacksmith": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613554793627 + }, + "talk_to_lumberjack": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613466684506 + }, + "talk_to_event_master": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "talk_to_auction_master": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613554727428 + }, + "talk_to_banker": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "talk_to_fairy": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "talk_to_fisherman_1": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "talk_to_carpenter": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "talk_to_artist_1": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "paint_canvas": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "talk_to_pet_collector": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "talk_to_pet_sitter": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "talk_to_lazy_miner": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613465418703 + }, + "increase_mining_skill_5": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613554812331 + }, + "talk_to_telekinesis_applier": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613465624921 + }, + "find_pickaxe": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613465518880 + }, + "collect_ingots": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613465528999, + "IRON_INGOT": true, + "GOLD_INGOT": true + }, + "increase_foraging_skill_5": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613554002882 + }, + "talk_to_gustave_1": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "chop_tree": { + "status": "COMPLETE", + "progress": 20, + "completed_at": 1613466684506 + }, + "talk_to_lumberjack_2": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613466689504 + }, + "increase_foraging_skill": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613466689506 + }, + "warp_foraging_islands": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613553975141 + }, + "collect_birch_logs": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "collect_dark_oak_logs": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "mine_coal": { + "status": "COMPLETE", + "progress": 11, + "completed_at": 1613554823889 + }, + "talk_to_blacksmith_2": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613554843149 + }, + "increase_mining_skill": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613554843149 + }, + "reforge_item": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613554876479 + }, + "warp_gold_mine": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613635192034 + }, + "talk_to_farmhand_1": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613632757004 + }, + "increase_farming_skill_5": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613634311423 + }, + "craft_wheat_minion": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "collect_wheat": { + "status": "COMPLETE", + "progress": 115, + "completed_at": 1613632783784 + }, + "talk_to_farmer_2": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "warp_mushroom_desert": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613634354997 + }, + "collect_farming_resources_2": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613634543457, + "CACTUS": true, + "INK_SACK:3": true, + "SUGAR_CANE": true + }, + "collect_farm_animal_resources_2": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "warp_deep_caverns": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613635218704 + }, + "talk_to_lapis_miner": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613636461856 + }, + "talk_to_lift_operator": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613635651959 + }, + "reach_lapis_quarry": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613635678083 + }, + "collect_lapis": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613636415682, + "INK_SACK:4": true + }, + "talk_to_rhys": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613636344524 + }, + "increase_mining_12": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "reach_pigmens_den": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613636629001 + }, + "give_pickaxe_lapis_miner": { + "status": "COMPLETE", + "progress": 0, + "completed_at": 1613636472021 + }, + "collect_redstone": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + }, + "talk_to_guildford_1": { + "status": "ACTIVE", + "progress": 0, + "completed_at": 0 + } + }, + "tutorial": [ + "first_join", + "zone_village", + "tutorial_npc_collector", + "shop_farm_merchant", + "zone_farmhouse", + "tutorial_npc_trader", + "tutorial_trade", + "tutorial_npc_explorer", + "tutorial_npc_instructor", + "tutorial_npc_psychic", + "tutorial_npc_ender_villager", + "zone_library", + "tutorial_npc_quester", + "zone_blacksmith", + "zone_mine", + "tutorial_npc_teacher", + "tutorial_npc_bugs", + "tutorial_npc_crafter", + "zone_bank", + "zone_forest", + "zone_bazaar_alley", + "zone_farm", + "zone_colosseum", + "zone_tailor", + "zone_gold_mine", + "zone_danger", + "zone_floating_islands_1", + "tutorial_npc_cooperator", + "zone_auction_house", + "zone_floating_islands_2", + "zone_floating_islands_3", + "zone_floating_islands_4", + "zone_floating_islands_5", + "reforge_item", + "shop_lumber_merchant", + "zone_community_center", + "zone_the_barn", + "zone_mushroom_desert", + "zone_deep_caverns", + "zone_deep_caverns_room_1", + "zone_deep_caverns_room_2", + "zone_deep_caverns_room_3", + "zone_deep_caverns_room_4", + "zone_deep_caverns_room_5", + "zone_deep_caverns_room_6", + "togglerds", + "zone_mountain", + "zone_ruins", + "zone_flower_house", + "zone_dungeon_hub", + "zone_election_room", + "zone_builders_house", + "shop_builder", + "shop_anita", + "zone_wilderness", + "tutorial_npc_landlord" + ], + "quests": { + "collect_log": { + "status": "COMPLETE", + "activated_at": 1613464165593, + "activated_at_sb": 53188465, + "completed_at": 1613464242322, + "completed_at_sb": 53188541 + }, + "explore_hub": { + "status": "COMPLETE", + "activated_at": 1613464479705, + "activated_at_sb": 53188778, + "completed_at": 1613784987055, + "completed_at_sb": 53509285 + }, + "explore_village": { + "status": "COMPLETE", + "activated_at": 1613464479705, + "activated_at_sb": 53188778, + "completed_at": 1613785227256, + "completed_at_sb": 53509526 + }, + "talk_to_librarian": { + "status": "ACTIVE", + "activated_at": 1613464479705, + "activated_at_sb": 53188778, + "completed_at": 0, + "completed_at_sb": 0 + }, + "talk_to_farmer": { + "status": "ACTIVE", + "activated_at": 1613464479705, + "activated_at_sb": 53188778, + "completed_at": 0, + "completed_at_sb": 0 + }, + "talk_to_blacksmith": { + "status": "COMPLETE", + "activated_at": 1613464479705, + "activated_at_sb": 53188778, + "completed_at": 1613635192034, + "completed_at_sb": 53359490 + }, + "talk_to_lumberjack": { + "status": "ACTIVE", + "activated_at": 1613464479705, + "activated_at_sb": 53188778, + "completed_at": 0, + "completed_at_sb": 0 + }, + "talk_to_auction_master": { + "status": "COMPLETE", + "activated_at": 1613464479705, + "activated_at_sb": 53188778, + "completed_at": 1613554727428, + "completed_at_sb": 53279025 + }, + "talk_to_banker": { + "status": "ACTIVE", + "activated_at": 1613464479705, + "activated_at_sb": 53188778, + "completed_at": 0, + "completed_at_sb": 0 + }, + "talk_to_carpenter": { + "status": "ACTIVE", + "activated_at": 1613464479705, + "activated_at_sb": 53188778, + "completed_at": 0, + "completed_at_sb": 0 + }, + "talk_to_artist_1": { + "status": "ACTIVE", + "activated_at": 1613464479706, + "activated_at_sb": 53188778, + "completed_at": 0, + "completed_at_sb": 0 + }, + "talk_to_lazy_miner": { + "status": "COMPLETE", + "activated_at": 1613465399908, + "activated_at_sb": 53189697, + "completed_at": 1613465528999, + "completed_at_sb": 53189827 + }, + "increase_mining_skill_5": { + "status": "COMPLETE", + "activated_at": 1613465399908, + "activated_at_sb": 53189697, + "completed_at": 1613554812331, + "completed_at_sb": 53279110 + }, + "increase_foraging_skill_5": { + "status": "ACTIVE", + "activated_at": 1613466298365, + "activated_at_sb": 53190596, + "completed_at": 0, + "completed_at_sb": 0 + }, + "talk_to_gustave_1": { + "status": "ACTIVE", + "activated_at": 1613466298365, + "activated_at_sb": 53190596, + "completed_at": 0, + "completed_at_sb": 0 + }, + "reforge_item": { + "status": "COMPLETE", + "activated_at": 1613554843149, + "activated_at_sb": 53279141, + "completed_at": 1613554876479, + "completed_at_sb": 53279175 + }, + "talk_to_farmhand_1": { + "status": "ACTIVE", + "activated_at": 1613555148967, + "activated_at_sb": 53279447, + "completed_at": 0, + "completed_at_sb": 0 + }, + "increase_farming_skill_5": { + "status": "ACTIVE", + "activated_at": 1613555148968, + "activated_at_sb": 53279447, + "completed_at": 0, + "completed_at_sb": 0 + }, + "talk_to_lapis_miner": { + "status": "COMPLETE", + "activated_at": 1613635218702, + "activated_at_sb": 53359516, + "completed_at": 1613636472022, + "completed_at_sb": 53360770 + }, + "talk_to_rhys": { + "status": "ACTIVE", + "activated_at": 1613636338670, + "activated_at_sb": 53360637, + "completed_at": 0, + "completed_at_sb": 0 + }, + "talk_to_guildford_1": { + "status": "ACTIVE", + "activated_at": 1613640441103, + "activated_at_sb": 53364738, + "completed_at": 0, + "completed_at_sb": 0 + } + }, + "coin_purse": 911.25830078125, + "last_death": 53509196, + "crafted_generators": [ + "CARROT_5", + "IRON_1", + "CARROT_4", + "ZOMBIE_1", + "COBBLESTONE_1", + "CARROT_1", + "COBBLESTONE_2", + "CARROT_3", + "CARROT_2" + ], + "visited_zones": [ + "dynamic_portal_island", + "village", + "farmhouse", + "library", + "blacksmith", + "mine", + "bank", + "tavern", + "forest", + "bazaar_alley", + "farm", + "colosseum_arena", + "colosseum", + "tailor", + "gold_mine", + "danger", + "floating_islands_1", + "auction_house", + "floating_islands_2", + "floating_islands_3", + "floating_islands_4", + "floating_islands_5", + "community_center", + "the_barn", + "mushroom_desert", + "deep_caverns", + "deep_caverns_room_1", + "deep_caverns_room_2", + "deep_caverns_room_3", + "deep_caverns_room_4", + "deep_caverns_room_5", + "deep_caverns_room_6", + "mountain", + "ruins", + "flower_house", + "high_level", + "dungeon_hub", + "election_room", + "builders_house", + "wilderness", + "fisherman_hut" + ], + "fairy_souls_collected": 3, + "fairy_souls": 3, + "death_count": 26, + "slayer_bosses": { + "zombie": { + "claimed_levels": {} + }, + "spider": { + "claimed_levels": {} + }, + "wolf": { + "claimed_levels": {} + } + }, + "pets": [], + "dungeons": { + "dungeon_types": { + "catacombs": {} + }, + "player_classes": { + "healer": {}, + "mage": {}, + "berserk": {}, + "archer": {}, + "tank": {} + }, + "dungeon_journal": {} + }, + "griffin": { + "burrows": [] + }, + "jacob2": { + "medals_inv": {}, + "perks": {}, + "contests": { + "119:7_11:CARROT_ITEM": { + "collected": 392 + }, + "119:7_17:NETHER_STALK": { + "collected": 2 + }, + "119:9_6:CARROT_ITEM": { + "collected": 226 + } + } + } + } + }, + "community_upgrades": { + "upgrade_states": [] + }, + "cute_name": "Apple" + } + ] +}
\ No newline at end of file |