def METHOD_NAME(client, mocker):
    client.login(
        user_with_orgs_and_services(num_orgs=1, num_services=1, platform_admin=True),
        mocker=mocker,
    )
    with client.session_transaction() as session:
        session["service_id"] = None
        session["organisation_id"] = "org2"
    response = client.get(url_for(".show_accounts_or_dashboard"))
    assert response.status_code == 302
    assert response.location == url_for("main.organisation_dashboard", org_id="org2")