Fakultas Ilmu Komputer UI

Commit a63cdb2e authored by Raden Fikri Ihza Dwi Nanda's avatar Raden Fikri Ihza Dwi Nanda
Browse files

[GREEN] Fix error on test

parent 1d2be964
Pipeline #24345 passed with stages
in 5 minutes and 16 seconds
......@@ -344,7 +344,7 @@ class CreateAndUpdateVacancyTest(APITestCase):
url = '/api/vacancies/'
response = self.client.post(url, {'company': new_company.pk, 'open_time': self.yesterday,
'close_time': self.today, 'name': 'new_vacancy', 'description': 'new_vacancy', 'responsibilities': 'new_vacancy', 'requirements': 'new_vacancy',
'close_time': self.today, 'name': 'newVacancy', 'description': 'newVacancy', 'responsibilities': 'newVacancy', 'requirements': 'newVacancy',
'max_accepted_applicants': 3, 'working_period':'3 Bulan'}, format='json')
self.assertEqual(response.status_code, status.HTTP_400_BAD_REQUEST)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment