Change assertion for consistency

This commit is contained in:
Pea Tyczynska
2019-05-30 15:45:17 +01:00
parent 8286e86a9e
commit bafa4e345b

View File

@@ -386,7 +386,7 @@ def send_test_step(service_id, template_id, step_index):
) )
try: try:
if "test" in request.endpoint: if request.endpoint == 'main.send_test_step':
current_placeholder = placeholders[step_index - 1] current_placeholder = placeholders[step_index - 1]
else: else:
current_placeholder = placeholders[step_index] current_placeholder = placeholders[step_index]