 
     query = new_file_info |> update_file_query(get_file_id(context[:existing_file]))
 
+    assert_errors(query, [%{locations: [%{column: 0, line: 2}],
+      message: "In field \"updateFile\": Not logged in"}])
+
     # Confirm that the updated file contains the updated parameters
     assert_data(query, %{"updateFile" => %{
       "clientMutationId" => "123",

  alias EdmBackend.Group
  alias EdmBackend.Host
  alias EdmBackend.Destination

  setup do
    {:ok, owner} = %Client{} |> Client.changeset(%{

    }) |> Repo.insert

    File.update(file, %{}) # Should create file transfer records

    host_id = get_host_id(host)
    query = get_file_transfers_for_file_query(file_id)
    assert_data(query, %{
