projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
404a9cc
)
Expose issue via failing test
author
Maxim Filippov
<colixer@gmail.com>
Thu, 19 Dec 2019 16:47:36 +0000
(19:47 +0300)
committer
Maxim Filippov
<colixer@gmail.com>
Thu, 19 Dec 2019 16:47:36 +0000
(19:47 +0300)
test/stats_test.exs
patch
|
blob
|
history
diff --git
a/test/stats_test.exs
b/test/stats_test.exs
index 31c2f8db321ce314d2dd895ba0d17911f1f25b3b..02a92dc644b7794da0706d489ac5de469291d987 100644
(file)
--- a/
test/stats_test.exs
+++ b/
test/stats_test.exs
@@
-43,6
+43,7
@@
defmodule Pleroma.StatsTest do
test "it returns total number of statuses" do
data = Pleroma.Stats.get_stat_data()
+ assert data.stats.status_count.all == 10
assert data.stats.status_count.public == 1
assert data.stats.status_count.unlisted == 2
assert data.stats.status_count.direct == 3