Expose issue via failing test
This commit is contained in:
parent
404a9ccb9a
commit
4079d66f00
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ defmodule Pleroma.StatsTest do
|
||||||
test "it returns total number of statuses" do
|
test "it returns total number of statuses" do
|
||||||
data = Pleroma.Stats.get_stat_data()
|
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.public == 1
|
||||||
assert data.stats.status_count.unlisted == 2
|
assert data.stats.status_count.unlisted == 2
|
||||||
assert data.stats.status_count.direct == 3
|
assert data.stats.status_count.direct == 3
|
||||||
|
|
Loading…
Reference in a new issue