fixed test
This commit is contained in:
parent
eb9c1d11ab
commit
dbf2f71b9f
1 changed files with 10 additions and 8 deletions
|
@ -110,12 +110,14 @@
|
||||||
:spoiler_text ""}])
|
:spoiler_text ""}])
|
||||||
|
|
||||||
(deftest test-mastodon->html
|
(deftest test-mastodon->html
|
||||||
(is (= [:ul {:class "list-group"}
|
(is (= [:ul {:class "list-group"}
|
||||||
'([:li {:class "list-group-item, card"}
|
'([:li {:class "list-group-item, card"}
|
||||||
[:div {:class "card-body"}
|
[:div {:class "card-body row"}
|
||||||
[:h2 {:class "card-title"}
|
[:div {:class "col-sm"}
|
||||||
[:a {:href "https://social.meissa-gmbh.de/@jerger/107937257700481042"} "2022-03-11" " " "09:44:07"]]
|
[:h2 {:class "card-title"}
|
||||||
[:div {:class "card-text"}
|
[:a {:href "https://social.meissa-gmbh.de/@jerger/107937257700481042"} "2022-03-11" " " "09:44:07"]]
|
||||||
"<p><span class=\"h-card\"><a href=\"https://social.meissa-gmbh.de/@team\" class=\"u-url mention\">@<span>team</span></a></span> Hier mein erstes Bild :-)</p>"
|
[:div {:class "card-text"} "<p><span class=\"h-card\"><a href=\"https://social.meissa-gmbh.de/@team\" class=\"u-url mention\">@<span>team</span></a></span> Hier mein erstes Bild :-)</p>"]]
|
||||||
[:div {:class "media"} [:img {:class "card-img-top", :src "https://cdn.masto.host/socialmeissagmbhde/media_attachments/files/107/937/248/257/634/217/small/923e75c7684a2c31.jpg"}]]]]])]
|
[:div {:class "col-sm"}
|
||||||
|
[:div {:class "media"}
|
||||||
|
[:img {:class "img-thumbnail", :width "100", :height "100", :src "https://cdn.masto.host/socialmeissagmbhde/media_attachments/files/107/937/248/257/634/217/small/923e75c7684a2c31.jpg"}]]]]])]
|
||||||
(sut/masto->html statuses))))
|
(sut/masto->html statuses))))
|
||||||
|
|
Loading…
Reference in a new issue