[#210] Test update (replaced bang- with non-bang method).
authorIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 5 Dec 2018 08:56:31 +0000 (11:56 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 5 Dec 2018 08:56:31 +0000 (11:56 +0300)
test/web/twitter_api/twitter_api_controller_test.exs

index 21e8441240fb3ff867b58c1306940588fb58806b..478763de78db9c5eed35c8de2a318ddc555be684 100644 (file)
@@ -1268,7 +1268,7 @@ defmodule Pleroma.Web.TwitterAPI.ControllerTest do
       })
       |> json_response(:no_content)
 
-      object = Repo.get!(Object, object.id)
+      object = Repo.get(Object, object.id)
       assert object.data["name"] == description
     end
   end