async def METHOD_NAME(fake2, mongo, snapshot, data_layer, role, static_time):
    """
    Test changing the administrator role of a user.
    """
    user = await fake2.users.create()
    assert await data_layer.administrators.set_administrator_role(
        user.id, role
    ) == snapshot(name="obj")
    updated_user = await mongo.users.find_one()
    assert updated_user["administrator"] == (role == AdministratorRole.FULL)
    expected_list = [(user.id, role)] if role is not None else []
    assert (
        await data_layer.administrators._authorization_client.list_administrators()
        == expected_list
    )