async def METHOD_NAME(
    self, db, async_session_temp, system: System
):
    system_schema = SystemSchema.from_orm(system)
    system_schema.privacy_declarations = (
        PrivacyDeclarationSchema(
            name="declaration-name",
            data_categories=[],
            data_use="essential",
            data_subjects=[],
            data_qualifier="aggregated_data",
            dataset_references=[],
        ),
    )
    await update_system(
        system_schema, async_session_temp, CONFIG.security.oauth_root_client_id
    )
    system_histories = SystemHistory.filter(
        db=db, conditions=(SystemHistory.system_id == system.id)
    ).all()
    assert len(system_histories) == 1
    assert system_histories[0].edited_by == CONFIG.security.root_username