       artist_invite: context.a_inv2,
       conn:          context.conn,
     })
-
-    assert json[:links][:brand_account]
 
     refute json[:links][:unapproved_submissions]
 

    ]}
  end

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

      conn:          context.conn,
    })

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

