def METHOD_NAME(self):
    proj = MockProject(
        project_id=TEST_PROJECT_ID,
        name=TEST_PROJECT_NAME,
        bk_biz_id=TEST_BIZ_CC_ID,
        from_cmdb=True,
    )
    task = MockPeriodicTask()
    cron = {"minute": "*/1"}
    with mock.patch(PROJECT_GET, MagicMock(return_value=proj)):
        with mock.patch(PERIODIC_TASK_GET, MagicMock(return_value=task)):
            response = self.client.post(
                path=self.url().format(
                    task_id=TEST_PERIODIC_TASK_ID, project_id=TEST_PROJECT_ID
                ),
                data=json.dumps({"cron": cron}),
                content_type="application/json",
            )
            task.modify_cron.assert_called_once_with(cron, proj.time_zone)
            data = json.loads(response.content)
            self.assertTrue(data["result"], msg=data)
            self.assertEqual(data["data"], {"cron": task.cron})