fix(api): align contracts with frontend md
Some checks failed
CI/CD Pipeline / Code Quality Checks (pull_request) Failing after 3m20s
CI/CD Pipeline / Run Tests (pull_request) Successful in 13m45s
CI/CD Pipeline / Run API Inventory E2E Tests (pull_request) Successful in 22s
CI/CD Pipeline / Telegram Notify Success (pull_request) Has been skipped
Some checks failed
CI/CD Pipeline / Code Quality Checks (pull_request) Failing after 3m20s
CI/CD Pipeline / Run Tests (pull_request) Successful in 13m45s
CI/CD Pipeline / Run API Inventory E2E Tests (pull_request) Successful in 22s
CI/CD Pipeline / Telegram Notify Success (pull_request) Has been skipped
This commit is contained in:
@@ -647,13 +647,9 @@ class ExchangeApiInventoryE2ETest(AuthenticatedApiMixin, APITestCase):
|
||||
create_periodic = self.client.post(
|
||||
periodic_tasks_url,
|
||||
{
|
||||
"name": "inventory-periodic-task",
|
||||
"description": "inventory",
|
||||
"enabled": True,
|
||||
"schedule_type": "interval",
|
||||
"interval_every": 1,
|
||||
"interval_period": "hours",
|
||||
"mode": "all",
|
||||
"notify_on_error": True,
|
||||
},
|
||||
format="json",
|
||||
@@ -667,12 +663,9 @@ class ExchangeApiInventoryE2ETest(AuthenticatedApiMixin, APITestCase):
|
||||
patch_periodic = self.client.patch(
|
||||
periodic_detail_url,
|
||||
{
|
||||
"name": "inventory-periodic-task-updated",
|
||||
"enabled": False,
|
||||
"schedule_type": "interval",
|
||||
"interval_every": 2,
|
||||
"interval_period": "hours",
|
||||
"mode": "all",
|
||||
"schedule_type": "daily",
|
||||
"crontab_hour": 2,
|
||||
"crontab_minute": 30,
|
||||
"notify_on_error": False,
|
||||
},
|
||||
format="json",
|
||||
|
||||
Reference in New Issue
Block a user