fix tests
This commit is contained in:
parent
46c7e16512
commit
64ada7f960
|
@ -67,7 +67,8 @@ test "Represent a user account" do
|
||||||
hide_favorites: true,
|
hide_favorites: true,
|
||||||
hide_followers: false,
|
hide_followers: false,
|
||||||
hide_follows: false,
|
hide_follows: false,
|
||||||
relationship: %{}
|
relationship: %{},
|
||||||
|
skip_thread_containment: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -132,7 +133,8 @@ test "Represent a Service(bot) account" do
|
||||||
hide_favorites: true,
|
hide_favorites: true,
|
||||||
hide_followers: false,
|
hide_followers: false,
|
||||||
hide_follows: false,
|
hide_follows: false,
|
||||||
relationship: %{}
|
relationship: %{},
|
||||||
|
skip_thread_containment: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -233,7 +235,8 @@ test "represent an embedded relationship" do
|
||||||
domain_blocking: false,
|
domain_blocking: false,
|
||||||
showing_reblogs: true,
|
showing_reblogs: true,
|
||||||
endorsed: false
|
endorsed: false
|
||||||
}
|
},
|
||||||
|
skip_thread_containment: false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,8 @@ test "A user" do
|
||||||
"fields" => [],
|
"fields" => [],
|
||||||
"pleroma" => %{
|
"pleroma" => %{
|
||||||
"confirmation_pending" => false,
|
"confirmation_pending" => false,
|
||||||
"tags" => []
|
"tags" => [],
|
||||||
|
"skip_thread_containment" => false
|
||||||
},
|
},
|
||||||
"rights" => %{"admin" => false, "delete_others_notice" => false},
|
"rights" => %{"admin" => false, "delete_others_notice" => false},
|
||||||
"role" => "member"
|
"role" => "member"
|
||||||
|
@ -152,7 +153,8 @@ test "A user for a given other follower", %{user: user} do
|
||||||
"fields" => [],
|
"fields" => [],
|
||||||
"pleroma" => %{
|
"pleroma" => %{
|
||||||
"confirmation_pending" => false,
|
"confirmation_pending" => false,
|
||||||
"tags" => []
|
"tags" => [],
|
||||||
|
"skip_thread_containment" => false
|
||||||
},
|
},
|
||||||
"rights" => %{"admin" => false, "delete_others_notice" => false},
|
"rights" => %{"admin" => false, "delete_others_notice" => false},
|
||||||
"role" => "member"
|
"role" => "member"
|
||||||
|
@ -197,7 +199,8 @@ test "A user that follows you", %{user: user} do
|
||||||
"fields" => [],
|
"fields" => [],
|
||||||
"pleroma" => %{
|
"pleroma" => %{
|
||||||
"confirmation_pending" => false,
|
"confirmation_pending" => false,
|
||||||
"tags" => []
|
"tags" => [],
|
||||||
|
"skip_thread_containment" => false
|
||||||
},
|
},
|
||||||
"rights" => %{"admin" => false, "delete_others_notice" => false},
|
"rights" => %{"admin" => false, "delete_others_notice" => false},
|
||||||
"role" => "member"
|
"role" => "member"
|
||||||
|
@ -279,7 +282,8 @@ test "A blocked user for the blocker" do
|
||||||
"fields" => [],
|
"fields" => [],
|
||||||
"pleroma" => %{
|
"pleroma" => %{
|
||||||
"confirmation_pending" => false,
|
"confirmation_pending" => false,
|
||||||
"tags" => []
|
"tags" => [],
|
||||||
|
"skip_thread_containment" => false
|
||||||
},
|
},
|
||||||
"rights" => %{"admin" => false, "delete_others_notice" => false},
|
"rights" => %{"admin" => false, "delete_others_notice" => false},
|
||||||
"role" => "member"
|
"role" => "member"
|
||||||
|
|
Loading…
Reference in a new issue