         "size" => 12
     }
     query = file_id |> delete_file_query()
+
+    assert_errors(query, [%{locations: [%{column: 0, line: 2}],
+      message: "In field \"deleteFile\": Not logged in"}])
+
     assert_data(query, %{"deleteFile" => %{
       "clientMutationId" => "123",
       "file" => file_info

    }) |> 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, %{


    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",
