Missed tests
This commit is contained in:
parent
09be8cb336
commit
8b20c4d275
|
@ -1271,7 +1271,7 @@ test "registration from trusted app" do
|
||||||
"follow_requests_count" => 0,
|
"follow_requests_count" => 0,
|
||||||
"followers_count" => 0,
|
"followers_count" => 0,
|
||||||
"following_count" => 0,
|
"following_count" => 0,
|
||||||
"locked" => false,
|
"is_locked" => false,
|
||||||
"note" => "",
|
"note" => "",
|
||||||
"source" => %{
|
"source" => %{
|
||||||
"fields" => [],
|
"fields" => [],
|
||||||
|
|
|
@ -105,7 +105,7 @@ test "updates the user's locking status", %{conn: conn} do
|
||||||
conn = patch(conn, "/api/v1/accounts/update_credentials", %{is_locked: "true"})
|
conn = patch(conn, "/api/v1/accounts/update_credentials", %{is_locked: "true"})
|
||||||
|
|
||||||
assert user_data = json_response_and_validate_schema(conn, 200)
|
assert user_data = json_response_and_validate_schema(conn, 200)
|
||||||
assert user_data["locked"] == true
|
assert user_data["is_locked"] == true
|
||||||
end
|
end
|
||||||
|
|
||||||
test "updates the user's chat acceptance status", %{conn: conn} do
|
test "updates the user's chat acceptance status", %{conn: conn} do
|
||||||
|
|
Loading…
Reference in New Issue