def METHOD_NAME(self):
    self.login_as(self.user)
    org = self.create_organization()
    with assume_test_silo_mode(SiloMode.REGION):
        OrganizationMember.objects.create(user_id=self.user.id, organization=org)
    resp = self.client.get(self.path, self.params)
    assert resp.status_code == 302
    assert resp.headers["Location"].startswith("/extensions/vercel/link/?")
    expected_query_string = {
        "configurationId": ["config_id"],
        "code": ["my-code"],
        "next": ["https://example.com"],
    }
    parsed_url = urlparse(resp.headers["Location"])
    assert parse_qs(parsed_url.query) == expected_query_string