       conn:          context.staff_conn,
     })
 
-    assert json[:links][:brand_account]
-
     assert json[:links][:unapproved_submissions][:type] == "artist_invite_submission_stream"
     assert json[:links][:unapproved_submissions][:href] =~ ~r"/api/v2/artist_invites/\d*/submissions\?status=unapproved"
 

      conn:          context.conn,
    })

    assert json[:links][:brand_account][:type] == "users"
    assert json[:links][:brand_account][:id]
    assert json[:links][:brand_account][:href] =~ ~r"/api/v2/users/.*"

    refute json[:links][:unapproved_submissions]
    refute json[:links][:selected_submissions]


    ]}
  end

  test "index.json - renders each artist invite", context do
    assert %{
      artist_invites: [_, _]
    } = render(ArtistInviteView, "index.json",
      data: [context.a_inv1, context.a_inv2],
      conn: context.conn
