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

    """
  end

  defp get_source_id(source) do
    Absinthe.Relay.Node.to_global_id(:source, source.id, EdmBackend.GraphQL.Schema)
  end

        "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
