1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-11-17 07:08:31 +01:00

Expose issue via failing test

This commit is contained in:
Maxim Filippov 2019-12-19 19:47:36 +03:00
parent 404a9ccb9a
commit 4079d66f00

View File

@ -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