attempt to add html validation to mastodon api test case
This commit is contained in:
parent
175f0bebbc
commit
2b5db840ee
1 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@ test "Represent a user account" do
|
|||
info: %{"note_count" => 5, "follower_count" => 3, "source_data" => source_data},
|
||||
nickname: "shp@shitposter.club",
|
||||
name: ":karjalanpiirakka: shp",
|
||||
bio: "<script src=\"invalid-html\"></script><span>valid html</span>",
|
||||
inserted_at: ~N[2017-08-15 15:47:06.597036]
|
||||
})
|
||||
|
||||
|
@ -33,7 +34,7 @@ test "Represent a user account" do
|
|||
followers_count: 3,
|
||||
following_count: 0,
|
||||
statuses_count: 5,
|
||||
note: user.bio,
|
||||
note: "<span>valid html</span>",
|
||||
url: user.ap_id,
|
||||
avatar: "http://localhost:4001/images/avi.png",
|
||||
avatar_static: "http://localhost:4001/images/avi.png",
|
||||
|
|
Loading…
Reference in a new issue