async def METHOD_NAME(self):
    email = self.faker.email()
    user = create_user(email=email, roles=1)
    pipeline_schedule = PipelineSchedule.create(
        name='test_schedule_2',
        pipeline_uuid='test_pipeline',
        schedule_interval=ScheduleInterval.DAILY,
        schedule_type=ScheduleType.TIME,
        start_time=datetime(2023, 8, 30, 12, 30, 45),
        status=ScheduleStatus.INACTIVE,
    )
    trigger = Trigger(
        name=pipeline_schedule.name,
        pipeline_uuid=pipeline_schedule.pipeline_uuid,
        schedule_interval=pipeline_schedule.schedule_interval,
        schedule_type=pipeline_schedule.schedule_type,
        start_time=pipeline_schedule.start_time,
    )
    trigger_configs_by_name = add_or_update_trigger_for_pipeline_and_persist(
        trigger,
        pipeline_schedule.pipeline_uuid,
    )
    self.assertEqual(
        trigger_configs_by_name['test_schedule_2'].get('schedule_interval'),
        ScheduleInterval.DAILY,
    )
    self.assertEqual(
        trigger_configs_by_name['test_schedule_2'].get('status'),
        ScheduleStatus.INACTIVE,
    )
    update_payload = dict(
        schedule_interval='@hourly',
        status='active',
    )
    operation = self.build_update_operation(
        pipeline_schedule.id,
        {
            'pipeline_schedule': update_payload,
        },
        user=user,
    )
    response = await operation.execute()
    self.assertEqual(response['pipeline_schedule']['status'], ScheduleStatus.ACTIVE)
    self.assertEqual(
        response['pipeline_schedule']['schedule_interval'],
        ScheduleInterval.HOURLY,
    )
    # Check if trigger in triggers.yaml config file was also updated
    updated_trigger_configs_by_name = get_trigger_configs_by_name('test_pipeline')
    self.assertEqual(
        updated_trigger_configs_by_name['test_schedule_2']['schedule_interval'],
        ScheduleInterval.HOURLY,
    )
    self.assertEqual(
        updated_trigger_configs_by_name['test_schedule_2']['status'],
        ScheduleStatus.ACTIVE,
    )