From 26a37382dea56e516c22ae6631f4a81dd868bb67 Mon Sep 17 00:00:00 2001 From: Curtis ROck Date: Tue, 14 Jul 2020 07:43:56 -0500 Subject: [PATCH] edited accounts_counters-test --- .../__fixtures__/accounts_counter_follow.json | 7 +++++++ .../__fixtures__/accounts_counter_initial.json | 7 +++++++ .../accounts_counter_unfollow.json | 7 +++++++ .../__tests__/accounts_counters-test.js | Bin 258 -> 1350 bytes 4 files changed, 21 insertions(+) create mode 100644 app/soapbox/__fixtures__/accounts_counter_follow.json create mode 100644 app/soapbox/__fixtures__/accounts_counter_initial.json create mode 100644 app/soapbox/__fixtures__/accounts_counter_unfollow.json diff --git a/app/soapbox/__fixtures__/accounts_counter_follow.json b/app/soapbox/__fixtures__/accounts_counter_follow.json new file mode 100644 index 0000000000..3d2faf8012 --- /dev/null +++ b/app/soapbox/__fixtures__/accounts_counter_follow.json @@ -0,0 +1,7 @@ +{ + "9vMAje101ngtjlMj7w": { + "followers_count": 3, + "following_count": 2, + "statuses_count": 2 + } +} diff --git a/app/soapbox/__fixtures__/accounts_counter_initial.json b/app/soapbox/__fixtures__/accounts_counter_initial.json new file mode 100644 index 0000000000..ce9b3279ef --- /dev/null +++ b/app/soapbox/__fixtures__/accounts_counter_initial.json @@ -0,0 +1,7 @@ +{ + "9vMAje101ngtjlMj7w": { + "followers_count": 2, + "following_count": 2, + "statuses_count": 2 + } +} diff --git a/app/soapbox/__fixtures__/accounts_counter_unfollow.json b/app/soapbox/__fixtures__/accounts_counter_unfollow.json new file mode 100644 index 0000000000..285e4c6f29 --- /dev/null +++ b/app/soapbox/__fixtures__/accounts_counter_unfollow.json @@ -0,0 +1,7 @@ +{ + "9vMAje101ngtjlMj7w": { + "followers_count": 1, + "following_count": 2, + "statuses_count": 2 + } +} diff --git a/app/soapbox/reducers/__tests__/accounts_counters-test.js b/app/soapbox/reducers/__tests__/accounts_counters-test.js index f6c9e3bb0f79bc494d27eeb70b58de21696812f2..c39c959388ce4fcf1f47414b48670ac241a66a82 100644 GIT binary patch literal 1350 zcmcgrO>4qH5WV{==9UD4-W3Z)Dio|9tn|37$)wq`*-iI@D&l|d#$+|7SZ$%rAt9MJ z@6EitWko5K0fnheP(h|-0YSe%ph+UFFq#}5sB|#uu^PLBCt3p4@K_Yq&^5>Eec$vl z|FPY0Kbb66^Jg+$%w~%hvRq9j56fi?{`+cvUOBR9Nz1j|xN!`VLLbLEkt^i%P|I1_ zjNqFH$=JqNg_@8-8`po+Qk*EdyAmdtVU&MIcd6$ZwH2AqB+c#Y!{{?m3;)#2` z6m_E58pEKwq4psOVhAG`-@&d2z)TqETw0#Gvh!Mi$q~GP+E9aMcmUj#n3%9hTxdm# z855Ysu-ivb-^hn|OL^E1R~SVjr?q$YbIF{Fl;bf*=OOCo4hE382pKpG1!L$g=zn`9 z1r4^&odZ|9R+rh9IJ_VjH<)(RhR&8#Ks|zTg*4qx4^d#^bqE>d8td}D9-!mXrD