fix for field name
authorAlex S <alex.strizhakov@gmail.com>
Sat, 6 Apr 2019 13:49:43 +0000 (20:49 +0700)
committerAlex S <alex.strizhakov@gmail.com>
Sat, 6 Apr 2019 13:49:43 +0000 (20:49 +0700)
test/tasks/user_test.exs

index c9e5dd6256dd55afb23b48030618a6ba8f896bca..bde8f421c90e35c8acd218bd0da647bc60ee0033 100644 (file)
@@ -307,8 +307,8 @@ defmodule Mix.Tasks.Pleroma.UserTest do
       assert_received {:mix_shell, :info, [message2]}
       assert_received {:mix_shell, :info, [message3]}
       assert message =~ "Invites list:"
-      assert message2 =~ invite.token_type
-      assert message3 =~ invite2.token_type
+      assert message2 =~ invite.invite_type
+      assert message3 =~ invite2.invite_type
     end
   end